diff --git a/.changeset/forty-geckos-begin.md b/.changeset/forty-geckos-begin.md new file mode 100644 index 00000000..a845151c --- /dev/null +++ b/.changeset/forty-geckos-begin.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f21f6b11..b2770f36 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -49,11 +49,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -64,7 +64,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: github/codeql-action/autobuild@v3 # ℹī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -78,4 +78,4 @@ jobs: # make release - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/dependabot-approve-and-merge.yml b/.github/workflows/dependabot-approve-and-merge.yml index bf45d4e5..7d83864b 100644 --- a/.github/workflows/dependabot-approve-and-merge.yml +++ b/.github/workflows/dependabot-approve-and-merge.yml @@ -17,7 +17,7 @@ jobs: # will not occur. - name: Dependabot metadata id: dependabot-metadata - uses: dependabot/fetch-metadata@v1.1.1 + uses: dependabot/fetch-metadata@v2 with: github-token: "${{ secrets.GITHUB_TOKEN }}" # Here the PR gets approved. diff --git a/.github/workflows/gerald-pr.yml b/.github/workflows/gerald-pr.yml index 27fcb9b4..aa13cb62 100644 --- a/.github/workflows/gerald-pr.yml +++ b/.github/workflows/gerald-pr.yml @@ -11,7 +11,7 @@ jobs: if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' && (github.event.action != 'edited' || github.event.changes.base != null) runs-on: ubuntu-latest steps: - - uses: Khan/actions@gerald-pr-v1 + - uses: Khan/actions@gerald-pr-v3 with: token: ${{ secrets.GITHUB_TOKEN }} admin-token: ${{ secrets.KHAN_ACTIONS_BOT_TOKEN }} diff --git a/.github/workflows/gerald-push.yml b/.github/workflows/gerald-push.yml index 3c520f7d..fd9e1b27 100644 --- a/.github/workflows/gerald-push.yml +++ b/.github/workflows/gerald-push.yml @@ -11,14 +11,14 @@ jobs: if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: '${{ github.ref }}' # GitHub Actions doesn't allow us to take the length of github.event.commits, so we have to pass the array into node and take the length there. # We add one to the length because we want to get the diff between the last commit and the commit before the first commit. fetch-depth: '$(node -e "console.log(${{ github.event.commits }}.length + 1")' - name: Run Gerald - uses: Khan/gerald@v3.1 + uses: Khan/gerald@main env: GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' ADMIN_PERMISSION_TOKEN: '${{ secrets.KHAN_ACTIONS_BOT_TOKEN }}' diff --git a/.github/workflows/node-ci-main.yml b/.github/workflows/node-ci-main.yml index 95223c5e..7934abe3 100644 --- a/.github/workflows/node-ci-main.yml +++ b/.github/workflows/node-ci-main.yml @@ -28,9 +28,9 @@ jobs: os: [ubuntu-latest] node-version: [20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install & cache node_modules - uses: Khan/actions@shared-node-cache-v0 + uses: Khan/actions@shared-node-cache-v2 with: node-version: ${{ matrix.node-version }} @@ -48,14 +48,14 @@ jobs: os: [ubuntu-latest] node-version: [20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install & cache node_modules - uses: Khan/actions@shared-node-cache-v0 + uses: Khan/actions@shared-node-cache-v2 with: node-version: ${{ matrix.node-version }} - name: Run tests with coverage run: yarn coverage - name: Upload Coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/node-ci.yml b/.github/workflows/node-ci.yml index 60470b3e..42326e3d 100644 --- a/.github/workflows/node-ci.yml +++ b/.github/workflows/node-ci.yml @@ -27,9 +27,9 @@ jobs: os: [ubuntu-latest] node-version: [20.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install & cache node_modules - uses: Khan/actions@shared-node-cache-v0 + uses: Khan/actions@shared-node-cache-v2 with: node-version: ${{ matrix.node-version }} @@ -45,25 +45,25 @@ jobs: node-version: [20.x] steps: - name: Checking out latest commit - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install & cache node_modules - uses: Khan/actions@shared-node-cache-v0 + uses: Khan/actions@shared-node-cache-v2 with: node-version: ${{ matrix.node-version }} - name: Get All Changed Files - uses: Khan/actions@get-changed-files-v1 + uses: Khan/actions@get-changed-files-v2 id: changed - id: js-ts-files name: Find .js/.ts changed files - uses: Khan/actions@filter-files-v0 + uses: Khan/actions@filter-files-v1 with: changed-files: ${{ steps.changed.outputs.files }} extensions: '.js,.jsx,.ts,.tsx' - id: eslint-reset - uses: Khan/actions@filter-files-v0 + uses: Khan/actions@filter-files-v1 name: Files that would trigger a full eslint run with: changed-files: ${{ steps.changed.outputs.files }} @@ -94,13 +94,13 @@ jobs: - name: Upload Coverage # We don't bother collecting a record of coverage for dependabot changes if: ${{ github.actor != 'dependabot[bot]' }} - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage/coverage-final.json fail_ci_if_error: true - - uses: Khan/actions@check-for-changeset-v0 + - uses: Khan/actions@check-for-changeset-v1 if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' with: exclude: .github/,.storybook/ @@ -144,22 +144,22 @@ jobs: - os: ubuntu-latest node-version: 20.x steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install & cache node_modules - uses: Khan/actions@shared-node-cache-v0 + uses: Khan/actions@shared-node-cache-v2 with: node-version: ${{ matrix.node-version }} - name: Get All Changed Files - uses: Khan/actions@get-changed-files-v1 + uses: Khan/actions@get-changed-files-v2 id: changed - name: Build so that inter-package references are resolved run: yarn build - id: jest-reset - uses: Khan/actions@filter-files-v0 + uses: Khan/actions@filter-files-v1 name: Files that would trigger a full Jest run with: changed-files: ${{ steps.changed.outputs.files }} @@ -171,7 +171,7 @@ jobs: - id: js-ts-files name: Find .js/.ts changed files - uses: Khan/actions@filter-files-v0 + uses: Khan/actions@filter-files-v1 with: changed-files: ${{ steps.changed.outputs.files }} extensions: '.js,.jsx,.ts,.tsx' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68c03f3c..fa1b6602 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,13 +31,13 @@ jobs: name: Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ssh-key: ${{ secrets.KHAN_ACTIONS_BOT_SSH_PRIVATE_KEY }} fetch-depth: 0 - name: Install & cache node_modules - uses: Khan/actions@shared-node-cache-v0 + uses: Khan/actions@shared-node-cache-v2 with: node-version: 20.x