diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index d09a47cb..105157dc 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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 # Install Nox, Poetry and API's dependencies - name: Install Nox @@ -75,7 +75,7 @@ jobs: # ICAT Ansible clone and install dependencies - name: Checkout icat-ansible if: success() - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 with: repository: icatproject-contrib/icat-ansible ref: master @@ -122,7 +122,7 @@ jobs: cd /home/runner/install/icat.server/ && ./setup -vv install - name: Checkout DataGateway API - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 # Prep for using the API for tests - name: Create log file @@ -163,7 +163,7 @@ jobs: python-version: "3.9.7" architecture: x64 - name: Checkout DataGateway API - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Install Nox run: pip install nox==2020.8.22 @@ -183,7 +183,7 @@ jobs: python-version: "3.9.7" architecture: x64 - name: Checkout DataGateway API - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Install Nox run: pip install nox==2020.8.22 @@ -203,7 +203,7 @@ jobs: python-version: "3.9.7" architecture: x64 - name: Checkout DataGateway API - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Install Nox run: pip install nox==2020.8.22 @@ -235,7 +235,7 @@ jobs: # ICAT Ansible clone and install dependencies - name: Checkout icat-ansible - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 with: repository: icatproject-contrib/icat-ansible ref: master @@ -271,7 +271,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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 - name: Create config.yaml run: cd /home/runner/work/datagateway-api/datagateway-api; cp datagateway_api/config.yaml.example datagateway_api/config.yaml @@ -330,7 +330,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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 with: ref: ${{ github.event.repository.default_branch }} @@ -370,7 +370,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Check out repo - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.5.3 - name: Login to Harbor uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0 diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index ab2be480..dbdd4e24 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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 with: fetch-depth: 0 token: ${{ secrets.ADMIN_PAT }}