diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2dcf0c..8d9dc32 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,8 +15,8 @@ jobs: os: [ubuntu-latest, macos-latest] node: ["20", "22"] steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: ${{ matrix.node }} - name: Install dependencies @@ -30,8 +30,8 @@ jobs: name: Recall (report-only) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: "22" - name: Install dependencies diff --git a/.github/workflows/invocation.yml b/.github/workflows/invocation.yml index bbd46e9..866cbe4 100644 --- a/.github/workflows/invocation.yml +++ b/.github/workflows/invocation.yml @@ -19,8 +19,8 @@ jobs: name: Session-drift invocation (report-only) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 + - uses: actions/checkout@v7 + - uses: actions/setup-node@v7 with: node-version: "22" - name: Install + build code-context diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5d7ccb6..89f4457 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -39,7 +39,7 @@ jobs: name: Build and publish runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 # A release tag must match the version it ships, or the npm version, # the git tag, and the registry entry drift apart. - name: Check tag matches package.json version @@ -51,7 +51,7 @@ jobs: echo "release tag $TAG does not match package.json version v$VERSION" >&2 exit 1 fi - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v7 with: node-version: "20" registry-url: "https://registry.npmjs.org" diff --git a/.github/workflows/release-on-merge.yml b/.github/workflows/release-on-merge.yml index 4bf04da..12d3649 100644 --- a/.github/workflows/release-on-merge.yml +++ b/.github/workflows/release-on-merge.yml @@ -29,7 +29,7 @@ jobs: steps: - name: Mint release-App token scoped to code-context id: token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v3 with: app-id: ${{ vars.RELEASE_APP_ID }} private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }} @@ -38,7 +38,7 @@ jobs: # Check out the merge commit itself: its package.json is the version # this release ships, and the tag must point exactly at it. - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: ref: ${{ github.event.pull_request.merge_commit_sha }} token: ${{ steps.token.outputs.token }} diff --git a/.github/workflows/release-prep.yml b/.github/workflows/release-prep.yml index 8cedd07..b9bd84e 100644 --- a/.github/workflows/release-prep.yml +++ b/.github/workflows/release-prep.yml @@ -66,7 +66,7 @@ jobs: steps: - name: Mint release-App token scoped to code-context id: token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@v3 with: app-id: ${{ vars.RELEASE_APP_ID }} private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }} @@ -74,7 +74,7 @@ jobs: repositories: code-context # Full history: the gate and classifier need the release tags. - - uses: actions/checkout@v4 + - uses: actions/checkout@v7 with: ref: main token: ${{ steps.token.outputs.token }}