Skip to content

Commit

Permalink
[GitHub][workflows] Run automation script with python3 (#78695)
Browse files Browse the repository at this point in the history
This means we don't have to chmod, or change permissions any other way.
  • Loading branch information
DavidSpickett committed Jan 22, 2024
1 parent 7b925c3 commit 11c0dc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/issue-subscriber.yml
Expand Up @@ -22,7 +22,6 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
chmod a+x github-automation.py
pip install -r requirements.txt
- name: Update watchers
Expand All @@ -31,7 +30,7 @@ jobs:
env:
LABEL_NAME: ${{ github.event.label.name }}
run: |
./github-automation.py \
python3 ./github-automation.py \
--token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
issue-subscriber \
--issue-number '${{ github.event.issue.number }}' \
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/new-prs.yml
Expand Up @@ -43,13 +43,12 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
chmod a+x github-automation.py
pip install -r requirements.txt
- name: Greet Author
working-directory: ./llvm/utils/git/
run: |
./github-automation.py \
python3 ./github-automation.py \
--token '${{ secrets.GITHUB_TOKEN }}' \
pr-greeter \
--issue-number "${{ github.event.pull_request.number }}"
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pr-subscriber.yml
Expand Up @@ -22,13 +22,12 @@ jobs:
- name: Setup Automation Script
working-directory: ./llvm/utils/git/
run: |
chmod a+x github-automation.py
pip install -r requirements.txt
- name: Update watchers
working-directory: ./llvm/utils/git/
run: |
./github-automation.py \
python3 ./github-automation.py \
--token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
pr-subscriber \
--issue-number "${{ github.event.number }}" \
Expand Down

0 comments on commit 11c0dc3

Please sign in to comment.