|
16 | 16 | if: github.ref == 'refs/heads/main' && contains(fromJson('["major","minor"]'), github.event.inputs.versionIncrement) |
17 | 17 | steps: |
18 | 18 | - name: 🛒 Checkout repository |
19 | | - uses: actions/checkout@v2 |
| 19 | + uses: actions/checkout@v3 |
20 | 20 | with: |
21 | 21 | fetch-depth: 0 |
22 | 22 | token: ${{ secrets.BUNIT_BOT_TOKEN }} |
|
35 | 35 | exit 1 |
36 | 36 | - name: ⚙️ Import GPG key |
37 | 37 | id: import_gpg |
38 | | - uses: crazy-max/ghaction-import-gpg@v3 |
| 38 | + uses: crazy-max/ghaction-import-gpg@v5 |
39 | 39 | with: |
40 | | - gpg-private-key: ${{ secrets.BUNIT_BOT_GPG_PRIVATE_KEY }} |
| 40 | + gpg_private_key: ${{ secrets.BUNIT_BOT_GPG_PRIVATE_KEY }} |
41 | 41 | passphrase: ${{ secrets.BUNIT_BOT_GPG_KEY_PASSPHRASE }} |
42 | 42 |
|
43 | 43 | - name: ⚙️ Setup CI GIT |
|
56 | 56 | id: versions |
57 | 57 | run: | |
58 | 58 | nbgv prepare-release --versionIncrement ${{ github.event.inputs.versionIncrement }} |
59 | | - echo "::set-output name=MAIN_VERSION_COMMIT_MESSAGE::$(git log --format=%B -n 1 --skip 1)" |
| 59 | + echo "MAIN_VERSION_COMMIT_MESSAGE=$(git log --format=%B -n 1 --skip 1)" >> $GITHUB_OUTPUT |
60 | 60 | git checkout release/v$NBGV_MajorMinorVersion |
61 | | - echo "::set-output name=RELEASE_VERSION_COMMIT_MESSAGE::$(git log --format=%B -n 1)" |
| 61 | + echo "RELEASE_VERSION_COMMIT_MESSAGE=$(git log --format=%B -n 1)" >> $GITHUB_OUTPUT |
62 | 62 | |
63 | 63 | # Workaround since nbgv prepare-release does not sign commits. |
64 | 64 | # This undo's the commits, keeps the version changes, and commits again with signing |
|
83 | 83 | run: git push origin release/v$NBGV_MajorMinorVersion |
84 | 84 |
|
85 | 85 | - name: ⏭ Create pull request for release branch |
86 | | - uses: thomaseizinger/create-pull-request@1.0.0 |
| 86 | + uses: thomaseizinger/create-pull-request@1.3.0 |
87 | 87 | env: |
88 | 88 | GITHUB_TOKEN: ${{ secrets.BUNIT_BOT_TOKEN }} |
89 | 89 | with: |
|
0 commit comments