[llvm] [GitHub][workflows] Run automation script with python3 (PR #78695)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 03:20:29 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: David Spickett (DavidSpickett)
<details>
<summary>Changes</summary>
This means we don't have to chmod, or change permissions any other way.
---
Full diff: https://github.com/llvm/llvm-project/pull/78695.diff
3 Files Affected:
- (modified) .github/workflows/issue-subscriber.yml (+1-2)
- (modified) .github/workflows/new-prs.yml (+1-2)
- (modified) .github/workflows/pr-subscriber.yml (+1-2)
``````````diff
diff --git a/.github/workflows/issue-subscriber.yml b/.github/workflows/issue-subscriber.yml
index 111fa6d7aa67e75..ef6cd0674e8085c 100644
--- a/.github/workflows/issue-subscriber.yml
+++ b/.github/workflows/issue-subscriber.yml
@@ -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
@@ -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 }}' \
diff --git a/.github/workflows/new-prs.yml b/.github/workflows/new-prs.yml
index a52e4e943626304..a60f82ce35d1f31 100644
--- a/.github/workflows/new-prs.yml
+++ b/.github/workflows/new-prs.yml
@@ -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 }}"
diff --git a/.github/workflows/pr-subscriber.yml b/.github/workflows/pr-subscriber.yml
index aa36e6d502c9562..3952493bb698fe7 100644
--- a/.github/workflows/pr-subscriber.yml
+++ b/.github/workflows/pr-subscriber.yml
@@ -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 }}" \
``````````
</details>
https://github.com/llvm/llvm-project/pull/78695
More information about the llvm-commits
mailing list