[LLD][COFF] Allow overwriting directives exports with cmd-line exports
[llvm-project.git] / .github / workflows / issue-subscriber.yml
blob9083ebb1048047a492b98a98ec275b1225033e23
1 name: Issue Subscriber
3 on:
4   issues:
5     types:
6       - labeled
8 permissions:
9   contents: read
11 jobs:
12   auto-subscribe:
13     runs-on: ubuntu-latest
14     if: github.repository == 'llvm/llvm-project'
15     steps:
16       - name: Setup Automation Script
17         run: |
18           curl -O -L https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$GITHUB_SHA/llvm/utils/git/github-automation.py
19           curl -O -L https://raw.githubusercontent.com/$GITHUB_REPOSITORY/$GITHUB_SHA/llvm/utils/git/requirements.txt
20           chmod a+x github-automation.py
21           pip install -r requirements.txt
23       - name: Update watchers
24         # https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
25         env:
26           LABEL_NAME: ${{ github.event.label.name }}
27         run: |
28           ./github-automation.py \
29             --token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
30             issue-subscriber \
31             --issue-number '${{ github.event.issue.number }}' \
32             --label-name "$LABEL_NAME"