New component: google pub sub push receiver #59473
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: 'Add Labels' | |
| on: | |
| issue_comment: | |
| types: [created] | |
| permissions: read-all | |
| jobs: | |
| add-labels: | |
| if: ${{ !github.event.issue.pull_request && startsWith(github.event.comment.body, '/label') && github.repository_owner == 'open-telemetry' }} | |
| permissions: | |
| issues: write | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| - name: Run update permissions | |
| run: chmod +x ./.github/workflows/scripts/add-labels.sh | |
| - name: Run add-labels.sh | |
| run: ./.github/workflows/scripts/add-labels.sh | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| ISSUE: ${{ github.event.issue.number }} | |
| COMMENT: ${{ github.event.comment.body }} | |
| SENDER: ${{ github.event.sender.login }} |