diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 0056a270..2a9d8295 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -30,7 +30,7 @@ jobs: architecture: x64 - name: Checkout DataGateway API - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 # Install Nox, Poetry and API's dependencies - name: Install Nox @@ -71,7 +71,7 @@ jobs: # ICAT Ansible clone and install dependencies - name: Checkout icat-ansible if: success() - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 with: repository: icatproject-contrib/icat-ansible ref: master @@ -118,7 +118,7 @@ jobs: cd /home/runner/install/icat.server/ && ./setup -vv install - name: Checkout DataGateway API - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 # Prep for using the API for tests - name: Create log file @@ -164,7 +164,7 @@ jobs: python-version: "3.9.7" architecture: x64 - name: Checkout DataGateway API - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 - name: Install Nox run: pip install nox==2020.8.22 @@ -184,7 +184,7 @@ jobs: python-version: "3.9.7" architecture: x64 - name: Checkout DataGateway API - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 - name: Install Nox run: pip install nox==2020.8.22 @@ -204,7 +204,7 @@ jobs: python-version: "3.9.7" architecture: x64 - name: Checkout DataGateway API - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 - name: Install Nox run: pip install nox==2020.8.22 @@ -236,7 +236,7 @@ jobs: # ICAT Ansible clone and install dependencies - name: Checkout icat-ansible - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 with: repository: icatproject-contrib/icat-ansible ref: master @@ -272,7 +272,7 @@ jobs: ansible-playbook icat-ansible/icatdb_minimal_hosts.yml -i icat-ansible/hosts --vault-password-file icat-ansible/vault_pass.txt -vv - name: Checkout DataGateway API - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 - name: Create config.yaml run: cd /home/runner/work/datagateway-api/datagateway-api; cp datagateway_api/config.yaml.example datagateway_api/config.yaml @@ -333,7 +333,7 @@ jobs: run: cd /home/runner/install/icat.server; sudo mysql -uroot -D icatdb < create_triggers_mysql_5_0.sql - name: Checkout DataGateway API (default branch) - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 with: ref: ${{ github.event.repository.default_branch }} diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 22b08b8e..f2649a25 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 with: fetch-depth: 0 token: ${{ secrets.ADMIN_PAT }}