From 8c84db45954bf7f10dbd910ba0b4eb231ea9650d Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Mon, 13 Nov 2023 16:14:37 -0600 Subject: [PATCH 1/2] chore: update github actions [no ci] --- .github/CODEOWNERS | 6 ------ .github/ISSUE_TEMPLATE/Bug_report.md | 2 +- .github/workflows/failureNotifications.yml | 3 +-- .github/workflows/onRelease.yml | 2 +- .github/workflows/slackprnotification.yml | 23 ---------------------- CODEOWNERS.txt | 5 +++++ 6 files changed, 8 insertions(+), 33 deletions(-) delete mode 100644 .github/CODEOWNERS delete mode 100644 .github/workflows/slackprnotification.yml create mode 100644 CODEOWNERS.txt diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 8473e27c..00000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,6 +0,0 @@ -# These owners will be the default owners for everything in -# the repo. Unless a later match takes precedence, -# @salesforcecli/cli will be requested for -# review when someone opens a pull request. -* @salesforcecli/cli -#ECCN:Open Source diff --git a/.github/ISSUE_TEMPLATE/Bug_report.md b/.github/ISSUE_TEMPLATE/Bug_report.md index a02e0549..5e4d453e 100644 --- a/.github/ISSUE_TEMPLATE/Bug_report.md +++ b/.github/ISSUE_TEMPLATE/Bug_report.md @@ -8,7 +8,7 @@ NOTICE: While GitHub is the preferred channel for reporting issues/feedback, thi --> ### Summary diff --git a/.github/workflows/failureNotifications.yml b/.github/workflows/failureNotifications.yml index 796eb46e..4bf463ce 100644 --- a/.github/workflows/failureNotifications.yml +++ b/.github/workflows/failureNotifications.yml @@ -2,7 +2,6 @@ name: failureNotifications on: workflow_run: workflows: - - version, tag and github release - publish - create-github-release types: @@ -14,7 +13,7 @@ jobs: steps: - name: Announce Failure id: slack - uses: slackapi/slack-github-action@v1.21.0 + uses: slackapi/slack-github-action@v1.24.0 env: # for non-CLI-team-owned plugins, you can send this anywhere you like SLACK_WEBHOOK_URL: ${{ secrets.CLI_ALERTS_SLACK_WEBHOOK }} diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index afb4fbe1..d9102e0e 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -16,7 +16,7 @@ jobs: tag: ${{ steps.distTag.outputs.tag }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.release.tag_name || inputs.tag }} - uses: salesforcecli/github-workflows/.github/actions/getPreReleaseTag@main diff --git a/.github/workflows/slackprnotification.yml b/.github/workflows/slackprnotification.yml deleted file mode 100644 index 7ea07963..00000000 --- a/.github/workflows/slackprnotification.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Slack pull request open notification - -on: - pull_request: - types: [opened, reopened] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Notify slack pr open - env: - WEBHOOK_URL : ${{ secrets.CLI_TEAM_SLACK_WEBHOOK_URL }} - PULL_REQUEST_AUTHOR_ICON_URL : ${{ github.event.pull_request.user.avatar_url }} - PULL_REQUEST_AUTHOR_NAME : ${{ github.event.pull_request.user.login }} - PULL_REQUEST_AUTHOR_PROFILE_URL: ${{ github.event.pull_request.user.html_url }} - PULL_REQUEST_BASE_BRANCH_NAME : ${{ github.event.pull_request.base.ref }} - PULL_REQUEST_COMPARE_BRANCH_NAME : ${{ github.event.pull_request.head.ref }} - PULL_REQUEST_NUMBER : ${{ github.event.pull_request.number }} - PULL_REQUEST_REPO: ${{ github.event.pull_request.head.repo.name }} - PULL_REQUEST_TITLE : ${{ github.event.pull_request.title }} - PULL_REQUEST_URL : ${{ github.event.pull_request.html_url }} - uses: salesforcecli/pr-notification-action@main diff --git a/CODEOWNERS.txt b/CODEOWNERS.txt new file mode 100644 index 00000000..e0da4b2a --- /dev/null +++ b/CODEOWNERS.txt @@ -0,0 +1,5 @@ +# Techical writers will be added as reviewers on markdown changes. +*.md @salesforcecli/cli-docs + +# Comment line immediately above ownership line is reserved for related other information. Please be careful while editing. +#ECCN:Open Source 5D002 \ No newline at end of file From 1b99f8369ffaa96584cd75904c7a17feba23a473 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Mon, 13 Nov 2023 16:54:46 -0600 Subject: [PATCH 2/2] chore: rename codeowners file [no ci] --- CODEOWNERS.txt => CODEOWNERS | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename CODEOWNERS.txt => CODEOWNERS (100%) diff --git a/CODEOWNERS.txt b/CODEOWNERS similarity index 100% rename from CODEOWNERS.txt rename to CODEOWNERS