diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 59becb23..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, -# @forcedotcom/pdt 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/notify-slack-on-pr-open.yml b/.github/workflows/notify-slack-on-pr-open.yml index 13b5c9e5..0b04126c 100644 --- a/.github/workflows/notify-slack-on-pr-open.yml +++ b/.github/workflows/notify-slack-on-pr-open.yml @@ -8,16 +8,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Notify Slack on 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/github-workflows/.github/actions/prNotification@main + - name: Notify Slack on 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/github-workflows/.github/actions/prNotification@main 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 b/CODEOWNERS new file mode 100644 index 00000000..e0da4b2a --- /dev/null +++ b/CODEOWNERS @@ -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