diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..2c48305 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,11 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + groups: + github-actions: + patterns: ["*"] + schedule: + interval: "weekly" + cooldown: + default-days: 7 diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 3777b34..c106248 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -19,12 +19,12 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 with: ref: refs/pull/${{ github.event.issue.number }}/head - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0 with: python-version: '3.10' @@ -34,7 +34,7 @@ jobs: pip install azure-ai-ml azure-identity - name: Sign in to Azure - uses: azure/login@v2 + uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -79,7 +79,7 @@ jobs: --deployment-name "blue" - name: Comment deployment result on pull request - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 with: script: | const prNumber = context.issue.number; diff --git a/.github/workflows/manual-trigger-job.yml b/.github/workflows/manual-trigger-job.yml index 6f279b7..8c42580 100644 --- a/.github/workflows/manual-trigger-job.yml +++ b/.github/workflows/manual-trigger-job.yml @@ -12,7 +12,7 @@ jobs: - name: Install az ml extension run: az extension add -n ml -y - name: Azure login - uses: azure/login@v2 + uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1 with: creds: ${{secrets.AZURE_CREDENTIALS}} diff --git a/.github/workflows/train-dev.yml b/.github/workflows/train-dev.yml index 2cc5a3f..67a1891 100644 --- a/.github/workflows/train-dev.yml +++ b/.github/workflows/train-dev.yml @@ -14,10 +14,10 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 - name: Sign in to Azure - uses: azure/login@v2 + uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -75,7 +75,7 @@ jobs: - name: Comment dev metrics on pull request if: github.event_name == 'pull_request' - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 with: script: | const acc = '${{ steps.parse-metrics.outputs.dev_accuracy }}'; diff --git a/.github/workflows/train-prod.yml b/.github/workflows/train-prod.yml index 0cf6d54..198e308 100644 --- a/.github/workflows/train-prod.yml +++ b/.github/workflows/train-prod.yml @@ -19,12 +19,12 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 with: ref: refs/pull/${{ github.event.issue.number }}/head - name: Sign in to Azure - uses: azure/login@v2 + uses: azure/login@7184910d9eb2b1c5e48f7073824a90609bb9b6d6 # v2.3.1 with: creds: ${{ secrets.AZURE_CREDENTIALS }} @@ -107,7 +107,7 @@ jobs: echo "prod_auc=$AUC" >> "$GITHUB_OUTPUT" - name: Comment prod metrics on pull request - uses: actions/github-script@v7 + uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0 with: script: | const acc = '${{ steps.parse-metrics.outputs.prod_accuracy }}';