diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 13c15fd1..88bc95fc 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,6 +5,12 @@ version: 2 updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + cooldown: + default-days: 7 - package-ecosystem: "pip" directory: "/" schedule: diff --git a/.github/workflows/co-op-translator.yml b/.github/workflows/co-op-translator.yml index a06a9c38..1114a77d 100644 --- a/.github/workflows/co-op-translator.yml +++ b/.github/workflows/co-op-translator.yml @@ -43,12 +43,12 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v7 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: python-version: "3.12" @@ -101,14 +101,14 @@ jobs: - name: Upload Co-op Translator logs if: always() - uses: actions/upload-artifact@v7 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: co-op-translator-logs path: logs/ if-no-files-found: ignore - name: Create pull request - uses: peter-evans/create-pull-request@v8 + uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 with: token: ${{ secrets.GH_AW_GITHUB_TOKEN }} commit-message: "Update translations via Co-op Translator" diff --git a/.github/workflows/sync-content-engine.yml b/.github/workflows/sync-content-engine.yml index 208f7d78..881579e9 100644 --- a/.github/workflows/sync-content-engine.yml +++ b/.github/workflows/sync-content-engine.yml @@ -21,19 +21,19 @@ jobs: steps: - name: Checkout course repository - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 with: path: copilot-cli-for-beginners - name: Checkout content-engine repository - uses: actions/checkout@v4 + uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0 with: repository: github/cse-content-engine token: ${{ secrets.GH_AW_GITHUB_TOKEN }} path: cse-content-engine - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version: "20" @@ -44,7 +44,7 @@ jobs: run: npm run copy:content-engine - name: Create content-engine pull request - uses: peter-evans/create-pull-request@v7 + uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7.0.11 with: path: cse-content-engine token: ${{ secrets.GH_AW_GITHUB_TOKEN }}