fix: run check-pull-request-bazel-targets with bazel action #1404
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: External Contributor Slack Notification | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened] | |
| jobs: | |
| notify-slack-new-pr: | |
| name: Notify Slack for new External Contributor PR | |
| runs-on: ubuntu-latest | |
| if: github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository | |
| steps: | |
| - name: Post to a Slack channel | |
| id: slack | |
| uses: slackapi/slack-github-action@6c661ce58804a1a20f6dc5fbee7f0381b469e001 # v1.25.0 | |
| with: | |
| channel-id: eng-idx | |
| slack-message: "External Contribution: <${{ github.event.pull_request.html_url }}>" | |
| env: | |
| SLACK_BOT_TOKEN: ${{ secrets.SLACK_API_TOKEN }} |