diff --git a/.github/workflows/auto-integration-pr.yml b/.github/workflows/auto-integration-pr.yml index 8ae9aebcb..bb42065f1 100644 --- a/.github/workflows/auto-integration-pr.yml +++ b/.github/workflows/auto-integration-pr.yml @@ -43,7 +43,7 @@ jobs: pr-auto-integration: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: repository: "${{ inputs.organization }}/${{ inputs.repository }}" diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 7e80d50ee..45931b7e1 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -34,7 +34,7 @@ jobs: owner: ${{ github.repository_owner }} - name: 检出代码 - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 0 token: ${{ steps.auth.outputs.token }} diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml index afb102bc8..89cce7fdb 100644 --- a/.github/workflows/auto-tag.yml +++ b/.github/workflows/auto-tag.yml @@ -19,7 +19,7 @@ jobs: auto_tag: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} persist-credentials: false diff --git a/.github/workflows/backup-all-repos-to-gitee.yml b/.github/workflows/backup-all-repos-to-gitee.yml index 0199fe732..d6523c3c9 100644 --- a/.github/workflows/backup-all-repos-to-gitee.yml +++ b/.github/workflows/backup-all-repos-to-gitee.yml @@ -9,5 +9,5 @@ jobs: if: github.repository_owner == 'linuxdeepin' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - run: bash ".github/workflows/backup-all-repos-to-gitee.bash" linuxdeepin ${{ secrets.GITEE_SYNC_TOKEN }} diff --git a/.github/workflows/backup-all-repos-to-gitlabwh.yml b/.github/workflows/backup-all-repos-to-gitlabwh.yml index c07aae915..02bf25c95 100644 --- a/.github/workflows/backup-all-repos-to-gitlabwh.yml +++ b/.github/workflows/backup-all-repos-to-gitlabwh.yml @@ -9,7 +9,7 @@ jobs: if: github.repository_owner == 'linuxdeepin' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 with: repository: "linuxdeepin/jenkins-bridge-client" path: jenkins-bridge-client @@ -18,5 +18,5 @@ jobs: cd $GITHUB_WORKSPACE/jenkins-bridge-client go build . sudo install -Dvm755 jenkins-bridge-client -t /usr/bin/ - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - run: bash ".github/workflows/backup-all-repos-to-gitlabwh.bash" linuxdeepin ${{ secrets.BridgeToken }} diff --git a/.github/workflows/backup-to-gitlabwh.yml b/.github/workflows/backup-to-gitlabwh.yml index bb72ab340..57fa746c8 100644 --- a/.github/workflows/backup-to-gitlabwh.yml +++ b/.github/workflows/backup-to-gitlabwh.yml @@ -11,7 +11,7 @@ jobs: name: backup-to-gitlab runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 with: repository: "linuxdeepin/jenkins-bridge-client" path: jenkins-bridge-client diff --git a/.github/workflows/build-deb.yml b/.github/workflows/build-deb.yml index ea6fe724e..d3db1da8a 100644 --- a/.github/workflows/build-deb.yml +++ b/.github/workflows/build-deb.yml @@ -19,7 +19,7 @@ jobs: - name: Print Environment run: export - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 with: repository: "linuxdeepin/jenkins-bridge-client" path: jenkins-bridge-client diff --git a/.github/workflows/build-distribution.yml b/.github/workflows/build-distribution.yml index a4e4a9caf..d06b7312c 100644 --- a/.github/workflows/build-distribution.yml +++ b/.github/workflows/build-distribution.yml @@ -22,11 +22,11 @@ jobs: outputs: result: ${{ steps.result.outputs.RESULT }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event.pull_request.head.sha }} with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event_name == 'push' }} with: fetch-depth: 0 @@ -62,11 +62,11 @@ jobs: ssh-private-key: ${{ secrets.BUILD_SSH_PRIVATE_KEY }} - run: git config --global user.email "ci@deepin.org" - run: git config --global user.name "deepin-ci" - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event.pull_request.head.sha }} with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event_name == 'push' }} with: fetch-depth: 0 @@ -157,11 +157,11 @@ jobs: needs: [debian-setup] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event.pull_request.head.sha }} with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event_name == 'push' }} with: fetch-depth: 0 @@ -361,11 +361,11 @@ jobs: continue-on-error: true runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event.pull_request.head.sha }} with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event_name == 'push' }} with: fetch-depth: 0 diff --git a/.github/workflows/build-linglong.yml b/.github/workflows/build-linglong.yml index 846f10cff..7d43718bb 100644 --- a/.github/workflows/build-linglong.yml +++ b/.github/workflows/build-linglong.yml @@ -19,7 +19,7 @@ jobs: - name: Print Environment run: export - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 with: repository: "linuxdeepin/jenkins-bridge-client" path: jenkins-bridge-client diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index 8b58e1300..3c02180e3 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Fetch code - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 diff --git a/.github/workflows/deploy-dev-doc.yml b/.github/workflows/deploy-dev-doc.yml index e59455f75..f49b6ce34 100644 --- a/.github/workflows/deploy-dev-doc.yml +++ b/.github/workflows/deploy-dev-doc.yml @@ -38,7 +38,7 @@ jobs: echo "deb [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/ beige main community commercial" >> /etc/apt/sources.list echo "deb-src [trusted=yes] https://ci.deepin.com/repo/deepin/deepin-community/stable/ beige main community commercial" >> /etc/apt/sources.list apt-get update && apt-get install -y --force-yes ca-certificates apt-transport-https sudo - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ inputs.ref }} persist-credentials: false diff --git a/.github/workflows/doc-check.yml b/.github/workflows/doc-check.yml index 0cc850c0c..c5365dbe4 100644 --- a/.github/workflows/doc-check.yml +++ b/.github/workflows/doc-check.yml @@ -57,7 +57,7 @@ jobs: echo "Init failed after $retries attempts. Giving up." exit 1 - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} persist-credentials: false diff --git a/.github/workflows/dtk-unittest.yml b/.github/workflows/dtk-unittest.yml index 2cae44216..45e04ce72 100644 --- a/.github/workflows/dtk-unittest.yml +++ b/.github/workflows/dtk-unittest.yml @@ -20,11 +20,11 @@ jobs: - /sys/fs/cgroup:/sys/fs/cgroup - /etc/machine-id:/etc/machine-id steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event.pull_request.head.sha }} with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 if: ${{ github.event_name == 'push' }} - name: Install Dependences diff --git a/.github/workflows/license-check.yml b/.github/workflows/license-check.yml index 32ba6cb22..205ed3d07 100644 --- a/.github/workflows/license-check.yml +++ b/.github/workflows/license-check.yml @@ -5,7 +5,7 @@ jobs: Check-License: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} - name: Setup Python @@ -32,7 +32,7 @@ jobs: Check-README: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: ref: ${{ github.event.pull_request.head.sha }} - name: Install zsh diff --git a/.github/workflows/organization-manager.yml b/.github/workflows/organization-manager.yml index 46488b32f..5197e2245 100644 --- a/.github/workflows/organization-manager.yml +++ b/.github/workflows/organization-manager.yml @@ -15,7 +15,7 @@ jobs: name: organization-manager runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - uses: linuxdeepin/action-organization-manager@main with: app_id: 174141 diff --git a/.github/workflows/tag-build.yml b/.github/workflows/tag-build.yml index 5f8f8380d..2d4d68598 100644 --- a/.github/workflows/tag-build.yml +++ b/.github/workflows/tag-build.yml @@ -17,7 +17,7 @@ jobs: - name: Print Environment run: export - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 with: repository: "linuxdeepin/jenkins-bridge-client" path: jenkins-bridge-client diff --git a/.github/workflows/teams-manager.yml b/.github/workflows/teams-manager.yml index 49ddf3381..7b4003bab 100644 --- a/.github/workflows/teams-manager.yml +++ b/.github/workflows/teams-manager.yml @@ -11,7 +11,7 @@ jobs: if: github.ref_name == 'master' && github.repository == 'linuxdeepin/.github' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - name: update teams uses: linuxdeepin/action-teams-manager@master diff --git a/.github/workflows/templates-sync.yml b/.github/workflows/templates-sync.yml index e2017caa4..9c0aaea21 100644 --- a/.github/workflows/templates-sync.yml +++ b/.github/workflows/templates-sync.yml @@ -17,7 +17,7 @@ jobs: if: github.repository == 'linuxdeepin/.github' && github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 with: fetch-depth: 0 diff --git a/.github/workflows/yamllint.yml b/.github/workflows/yamllint.yml index 010b0aa3c..f310e48cc 100644 --- a/.github/workflows/yamllint.yml +++ b/.github/workflows/yamllint.yml @@ -8,7 +8,7 @@ jobs: validate-yaml: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - name: Validate YAML file run: 'yamllint -d "{ extends: relaxed, rules: {