diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index a57bfbcd..7e68a4f7 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -12,14 +12,14 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Install Rust run: rustup update stable - name: Generate docs working-directory: sds run: cargo doc --no-deps - name: Upload Rust docs - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 with: path: ./sds/target/doc deploy: @@ -31,4 +31,4 @@ jobs: steps: - name: Deploy to Github pages - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 338d7060..ac4b19f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,8 +28,8 @@ jobs: sds: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: Swatinem/rust-cache@v2 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2.0.0 - name: "Rust checks" run: bash ./scripts/rust_checks.sh - name: "Rust tests" @@ -37,7 +37,7 @@ jobs: sds-go: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - run: source "$HOME/.cargo/env" - name: "Build the SDS Go/Rust wrapper" run: make build-sds-go @@ -60,7 +60,7 @@ jobs: license-3rdparty: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: "Install dd-rust-license-tool" run: cargo install dd-rust-license-tool - name: "Check LICENSE-3rdparty.csv" diff --git a/.github/workflows/trigger_pr.yml b/.github/workflows/trigger_pr.yml index 00e1a108..e7756819 100644 --- a/.github/workflows/trigger_pr.yml +++ b/.github/workflows/trigger_pr.yml @@ -29,7 +29,7 @@ jobs: echo "COMMIT_AUTHOR=$author" >> "$GITHUB_OUTPUT" - name: Generate a token id: generate-token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0 with: app-id: ${{ vars.TRIGGER_APP_ID }} private-key: ${{ secrets.TRIGGER_GITHUB_APP_PRIVATE_KEY }}