diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml index 27c3109..ab0b75d 100644 --- a/.github/workflows/conventional-commits.yml +++ b/.github/workflows/conventional-commits.yml @@ -1,14 +1,13 @@ --- -name: conventional-commits +name: 'Validate PR' "on": - pull_request: - types: - - opened - - reopened - - edited - - synchronize + pull_request_target: + types: [opened, edited, reopened] jobs: conventional-commits: uses: sous-chefs/.github/.github/workflows/conventional-commits.yml@9.0.0 + permissions: + pull-requests: read + secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be435bd..21aedb0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,3 +21,5 @@ jobs: token: ${{ secrets.PORTER_GITHUB_TOKEN }} supermarket_user: ${{ secrets.CHEF_SUPERMARKET_USER }} supermarket_key: ${{ secrets.CHEF_SUPERMARKET_KEY }} + slack_bot_token: ${{ secrets.SLACK_BOT_TOKEN }} + slack_channel_id: ${{ secrets.SLACK_CHANNEL_ID }}