Skip to content

Commit

Permalink
Revert "CI: set persist-credentials=false for actions/checkout@v4"
Browse files Browse the repository at this point in the history
Turns out our CI scripts that git push stuff do use credentials from
the checkout script. Revert until we configure scripts to use a token
instead.

This reverts commit b57505f.
  • Loading branch information
Grimler91 committed Dec 15, 2024
1 parent 80876d1 commit 3e971ba
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 16 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/bootstrap_archives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ jobs:
steps:
- name: Git clone
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Create bootstrap archive
run: ./scripts/generate-bootstraps.sh --architectures ${{ matrix.arch }}
- name: Store artifacts
Expand All @@ -46,7 +44,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- name: Fetch bootstrap archives
uses: actions/download-artifact@v4
with:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/command_not_found.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
with:
fetch-depth: 1
token: ${{ secrets.TERMUXBOT2_TOKEN }}
persist-credentials: false
- name: Revbump main/command-not-found
env:
GITHUB_TOKEN: ${{ secrets.TERMUXBOT2_TOKEN }}
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Build
run: |
cd ./scripts
Expand All @@ -46,7 +44,6 @@ jobs:
with:
username: grimler
password: ${{ secrets.DOCKER_TOKEN }}
persist-credentials: false
- name: Push
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request' && github.repository == 'termux/termux-packages'
run: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/package_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
- name: Gather build summary
run: |
BASE_COMMIT=$(jq --raw-output .pull_request.base.sha "$GITHUB_EVENT_PATH")
Expand Down Expand Up @@ -138,7 +137,6 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.TERMUXBOT2_TOKEN }}
persist-credentials: false
- name: Free additional disk space
run: |
sudo apt purge -yq $(dpkg -l | grep '^ii' | awk '{ print $2 }' | grep -P '(aspnetcore|cabal-|dotnet-|ghc-|libmono|mongodb-|mysql-|php)') \
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 1000
persist-credentials: false
- name: Gather build summary
id: build-info
env:
Expand Down Expand Up @@ -284,8 +283,6 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Get *.deb files
uses: actions/download-artifact@v4
with:
Expand Down Expand Up @@ -353,8 +350,6 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Get *.deb files
uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/vagrant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ jobs:
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Vagrant repo
run: |
# https://developer.hashicorp.com/vagrant/downloads#linux
Expand Down

0 comments on commit 3e971ba

Please sign in to comment.