diff --git a/.github/workflows/architecture-pages.yml b/.github/workflows/architecture-pages.yml index b7b02f65..32da5aaa 100644 --- a/.github/workflows/architecture-pages.yml +++ b/.github/workflows/architecture-pages.yml @@ -39,10 +39,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout python-worker - uses: actions/checkout@v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Checkout azure-functions-host (gRPC channel metadata) - uses: actions/checkout@v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: Azure/azure-functions-host path: _sibling_repos/functions-host @@ -50,28 +50,28 @@ jobs: sparse-checkout: src/WebJobs.Script.Grpc - name: Checkout azure-functions-python-library - uses: actions/checkout@v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: Azure/azure-functions-python-library path: _sibling_repos/python-library fetch-depth: 1 - name: Checkout azure-functions-python-extensions - uses: actions/checkout@v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: Azure/azure-functions-python-extensions path: _sibling_repos/python-extensions fetch-depth: 1 - name: Checkout azure-functions-language-worker-protobuf - uses: actions/checkout@v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: Azure/azure-functions-language-worker-protobuf path: _sibling_repos/language-worker-protobuf fetch-depth: 1 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 with: python-version: "3.13" cache: "pip" @@ -90,14 +90,14 @@ jobs: run: mkdocs build --strict - name: Upload preview artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: name: architecture-site path: ./site - name: Upload GitHub Pages artifact if: github.event_name != 'pull_request' - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: path: ./site @@ -114,11 +114,11 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - name: Configure Pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0 with: enablement: true continue-on-error: true - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 66ca53f3..47582538 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -39,13 +39,13 @@ jobs: # Checkout the code base # ########################## - name: Checkout Code - uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2.8.0 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 ################################ # Run Linter against code base # ################################ - name: Lint Code Base - uses: github/super-linter@985ef206aaca4d560cb9ee2af2b42ba44adc1d55 # v4.10.0 + uses: github/super-linter@45fc0d88288beee4701c62761281edfee85655d7 # v5.0.0 env: VALIDATE_PYTHON: true VALIDATE_PYTHON_FLAKE8: true diff --git a/.github/workflows/ogf_workflow.yml b/.github/workflows/ogf_workflow.yml index d368e919..129660ed 100644 --- a/.github/workflows/ogf_workflow.yml +++ b/.github/workflows/ogf_workflow.yml @@ -80,13 +80,13 @@ jobs: # if you are making changes. Make sure they are the same. steps: - name: Install node and npm - uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2 + uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: '16' check-latest: true - name: Azure Login - uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # v1.6.1 + uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -103,7 +103,7 @@ jobs: ./k6 version - name: Setup Azure RG and Storage Account For Functions App - uses: Azure/cli@4b58c946a0f48d82cc2b6e31c0d15a6604859554 # 1.0.4 + uses: Azure/cli@9eb25b8360668fb0ecbafa808d40e2197b2f5f52 # 3.0.0 with: azcliversion: 2.16.0 inlineScript: | @@ -128,7 +128,7 @@ jobs: sleep 3 # Adding some breathing space for Storage Account creation. - name: Create new Consumption Azure Function App if: ${{ matrix.sku == 'cons' }} - uses: Azure/cli@4b58c946a0f48d82cc2b6e31c0d15a6604859554 # 1.0.4 + uses: Azure/cli@9eb25b8360668fb0ecbafa808d40e2197b2f5f52 # 3.0.0 with: azcliversion: 2.16.0 inlineScript: | @@ -391,7 +391,7 @@ jobs: ls -la $GITHUB_WORKSPACE - name: Upload a Build Artifact - uses: actions/upload-artifact@726a6dcd0199f578459862705eed35cda05af50b # v2.2.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 with: # Artifact name name: RawTestRunArchive @@ -421,7 +421,7 @@ jobs: needs: test steps: - name: Azure Login - uses: azure/login@cb79c773a3cfa27f31f25eb3f677781210c9ce3d # v1.6.1 + uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: Cleaning up the resource group diff --git a/.github/workflows/pr_title_enforcer.yml b/.github/workflows/pr_title_enforcer.yml index 0da72990..67892bdb 100644 --- a/.github/workflows/pr_title_enforcer.yml +++ b/.github/workflows/pr_title_enforcer.yml @@ -15,6 +15,6 @@ jobs: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@e32d7e603df1aa1ba07e981f2a23455dee596825 # v5 + - uses: amannn/action-semantic-pull-request@2252a14e810aa9b85c2d560bd7070c802206ecf6 # v6.1.2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}