Merge pull request #3190 from yuvipanda/osscratch #844
Workflow file for this run
This file contains 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: Comment GitHub Actions link on a merged PR | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- deployer/** | |
- requirements.txt | |
- helm-charts/** | |
- config/clusters/** | |
- .github/actions/setup-deploy/** | |
jobs: | |
comment-actions-links: | |
runs-on: ubuntu-latest | |
permissions: | |
# Grant GITHUB_TOKEN permissions to read a list of workflows for the repo | |
# and to comment on Pull Requests | |
actions: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pip install requests | |
- run: python extra-scripts/comment-test-link-merged-pr.py | |
env: | |
COMMIT_MSG: ${{ github.event.head_commit.message }} | |
GITHUB_REPO: ${{ github.repository }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: "master" | |
EVENT: "push" | |
# WORKFLOW_NAME *MUST* match what is set in the name field in the | |
# deploy-hubs.yaml workflow file | |
# https://github.com/2i2c-org/infrastructure/blob/HEAD/.github/workflows/deploy-hubs.yaml | |
WORKFLOW_NAME: "Deploy and test hubs" |