diff --git a/.github/workflows/add-milestone-to-pull-requests.yml b/.github/workflows/add-milestone-to-pull-requests.yml index b6c829c2a0e..50731476d0e 100644 --- a/.github/workflows/add-milestone-to-pull-requests.yml +++ b/.github/workflows/add-milestone-to-pull-requests.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout code # Checks out the branch that the pull request is merged into - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.base.ref }} diff --git a/.github/workflows/build-gem.yml b/.github/workflows/build-gem.yml index b82986029d7..5beb70f45d3 100644 --- a/.github/workflows/build-gem.yml +++ b/.github/workflows/build-gem.yml @@ -60,7 +60,7 @@ jobs: run: | find pkg - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: 'datadog-gem-${{ matrix.type }}-gha${{ github.run_id }}-g${{ github.sha }}' path: 'pkg/*.gem' @@ -77,7 +77,7 @@ jobs: - build steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'datadog-gem-${{ matrix.type }}-gha${{ github.run_id }}-g${{ github.sha }}' path: 'pkg' @@ -103,7 +103,7 @@ jobs: if: ${{ inputs.push }} steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: 'datadog-gem-${{ matrix.type }}-gha${{ github.run_id }}-g${{ github.sha }}' path: 'pkg' diff --git a/.github/workflows/pull-request-labeler.yml b/.github/workflows/pull-request-labeler.yml index 869d0d63323..f64481eb9be 100644 --- a/.github/workflows/pull-request-labeler.yml +++ b/.github/workflows/pull-request-labeler.yml @@ -1,6 +1,8 @@ name: "Pull Request Labeler" on: - - pull_request_target + - pull_request + # To revert + # - pull_request_target jobs: triage: @@ -9,8 +11,7 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: kachkaev/labeler@d89797c51d07680aec17049cc6790e9d323d9a93 # actions/labeler@v4 + https://github.com/actions/labeler/pull/316 + - uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" configuration-path: .github/labeler.yml - dot: true # From https://github.com/actions/labeler/pull/316 \ No newline at end of file diff --git a/.github/workflows/system-tests.yml b/.github/workflows/system-tests.yml index 5a58e401e51..d04490e171a 100644 --- a/.github/workflows/system-tests.yml +++ b/.github/workflows/system-tests.yml @@ -376,7 +376,7 @@ jobs: - name: Log in to the Container registry run: | echo ${{ secrets.GITHUB_TOKEN }} | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin - - uses: actions/delete-package-versions@v4 + - uses: actions/delete-package-versions@v5 with: package-version-ids: 'gha${{ github.run_id }}-g${{ github.sha }}' package-name: 'system-tests/${{ matrix.image }}' diff --git a/.github/workflows/yard.yml b/.github/workflows/yard.yml index b17da55156e..3a303388763 100644 --- a/.github/workflows/yard.yml +++ b/.github/workflows/yard.yml @@ -38,12 +38,12 @@ jobs: - name: Generate YARD documentation run: bundle exec rake docs --rakefile=tasks/yard.rake - name: Setup Pages - uses: actions/configure-pages@v3 + uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: # Upload generated YARD directory path: 'doc/' - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4