Skip to content

Commit 11c0dc3

Browse files
[GitHub][workflows] Run automation script with python3 (llvm#78695)
This means we don't have to chmod, or change permissions any other way.
1 parent 7b925c3 commit 11c0dc3

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/issue-subscriber.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
- name: Setup Automation Script
2323
working-directory: ./llvm/utils/git/
2424
run: |
25-
chmod a+x github-automation.py
2625
pip install -r requirements.txt
2726
2827
- name: Update watchers
@@ -31,7 +30,7 @@ jobs:
3130
env:
3231
LABEL_NAME: ${{ github.event.label.name }}
3332
run: |
34-
./github-automation.py \
33+
python3 ./github-automation.py \
3534
--token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
3635
issue-subscriber \
3736
--issue-number '${{ github.event.issue.number }}' \

.github/workflows/new-prs.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,12 @@ jobs:
4343
- name: Setup Automation Script
4444
working-directory: ./llvm/utils/git/
4545
run: |
46-
chmod a+x github-automation.py
4746
pip install -r requirements.txt
4847
4948
- name: Greet Author
5049
working-directory: ./llvm/utils/git/
5150
run: |
52-
./github-automation.py \
51+
python3 ./github-automation.py \
5352
--token '${{ secrets.GITHUB_TOKEN }}' \
5453
pr-greeter \
5554
--issue-number "${{ github.event.pull_request.number }}"

.github/workflows/pr-subscriber.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ jobs:
2222
- name: Setup Automation Script
2323
working-directory: ./llvm/utils/git/
2424
run: |
25-
chmod a+x github-automation.py
2625
pip install -r requirements.txt
2726
2827
- name: Update watchers
2928
working-directory: ./llvm/utils/git/
3029
run: |
31-
./github-automation.py \
30+
python3 ./github-automation.py \
3231
--token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
3332
pr-subscriber \
3433
--issue-number "${{ github.event.number }}" \

0 commit comments

Comments
 (0)