diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 13ea7daf1..b8e69598a 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Yarn Install and Cache uses: graasp/graasp-deploy/.github/actions/yarn-install-and-cache@v1 diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 73f7d43ff..72a11b58e 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -17,7 +17,7 @@ jobs: environment: development steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Yarn install and Cache dependencies uses: graasp/graasp-deploy/.github/actions/yarn-install-and-cache@v1 diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index df8140a93..0d8555433 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: ref: ${{ github.event.client_payload.tag }} diff --git a/.github/workflows/deploy-stage.yml b/.github/workflows/deploy-stage.yml index e2c2b087c..af8d15f10 100644 --- a/.github/workflows/deploy-stage.yml +++ b/.github/workflows/deploy-stage.yml @@ -18,7 +18,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 with: ref: ${{ github.event.client_payload.tag }} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index ea1b02152..be024d99a 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -17,7 +17,7 @@ jobs: package-name: graasp-auth changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"docs","section":"Documentation","hidden":false},{"type":"test","section":"Tests","hidden":false}]' - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 # creates minor and major tags that follow the latest release - name: Tag major and minor versions