diff options
author | David Spickett <david.spickett@linaro.org> | 2024-01-22 09:10:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-22 09:10:00 +0000 |
commit | 11c0dc3d4081b7739500d31332eba0760fed174c (patch) | |
tree | 205c538cbcdb918955a40fd055410ec839487e84 | |
parent | 7b925c3edb6297df6bcf87dfcfdfd645f03b5388 (diff) | |
download | llvm-11c0dc3d4081b7739500d31332eba0760fed174c.zip llvm-11c0dc3d4081b7739500d31332eba0760fed174c.tar.gz llvm-11c0dc3d4081b7739500d31332eba0760fed174c.tar.bz2 |
[GitHub][workflows] Run automation script with python3 (#78695)
This means we don't have to chmod, or change permissions any other way.
-rw-r--r-- | .github/workflows/issue-subscriber.yml | 3 | ||||
-rw-r--r-- | .github/workflows/new-prs.yml | 3 | ||||
-rw-r--r-- | .github/workflows/pr-subscriber.yml | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/.github/workflows/issue-subscriber.yml b/.github/workflows/issue-subscriber.yml index 111fa6d..ef6cd06 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 a52e4e9..a60f82ce 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 aa36e6d..3952493 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 }}" \ |