[ci.jenkins.io] project jenkins-infra/docker-plugin-site-issues is not built on ci.jenkins.io (scan permission errors) and has a different pipeline than infra.ci #3170
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: Notify users based on issue labels | |
on: | |
issues: | |
types: [labeled] | |
# workflow_run: | |
# workflows: ["Auto Labeler"] | |
# types: | |
# - completed | |
jobs: | |
autonotifier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate token | |
id: generate_token | |
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v1 | |
with: | |
app_id: ${{ secrets.JENKINS_INFRA_HELPDESK_APP_ID }} | |
private_key: ${{ secrets.JENKINS_INFRA_HELPDESK_APP_PRIVATE_KEY }} | |
- uses: jenschelkopf/issue-label-notification-action@f7d2363e5efa18b8aeea671ca8093e183ae8f218 # 1.3 | |
with: | |
token: ${{ steps.generate_token.outputs.token }} | |
recipients: | | |
crowdin=@jenkins-infra/crowdin-admins |