diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9de3041d3b..e327633971 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,15 +8,18 @@ on: jobs: release: name: Release - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 + permissions: + contents: write + steps: - name: Code checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 cache: "yarn" - name: Install dependencies @@ -30,8 +33,8 @@ jobs: REF: ${{ github.ref }} run: | BRANCH=release/${REF:10} - git config --local user.email "ci@pelican.dev" - git config --local user.name "Pelican CI" + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" git checkout -b $BRANCH git push -u origin $BRANCH sed -i "s/ 'version' => 'canary',/ 'version' => '${REF:11}',/" config/app.php