diff --git a/.github/workflows/monkey-ci.yml b/.github/workflows/monkey-ci.yml index 50df3dcf4..6387ef0ec 100644 --- a/.github/workflows/monkey-ci.yml +++ b/.github/workflows/monkey-ci.yml @@ -28,7 +28,7 @@ jobs: assets-json: ${{ steps.export-changes.outputs.assets-json }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: dorny/paths-filter@v2 id: filter with: @@ -59,9 +59,9 @@ jobs: runs-on: ubuntu-latest if: needs.pre-ci.outputs.should-build-be == 'true' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ env.NODE_VERSION }} @@ -86,9 +86,9 @@ jobs: runs-on: ubuntu-latest if: needs.pre-ci.outputs.should-build-fe == 'true' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ env.NODE_VERSION }} @@ -114,7 +114,7 @@ jobs: runs-on: ubuntu-latest if: needs.pre-ci.outputs.assets-json == 'true' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: dorny/paths-filter@v2 id: filter with: @@ -130,7 +130,7 @@ jobs: - 'frontend/static/challenges/*.json' - 'frontend/static/layouts/*.json' - name: Set up Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ env.NODE_VERSION }} diff --git a/.github/workflows/pretty-fix.yml b/.github/workflows/pretty-fix.yml index 5068ab0df..725538e13 100644 --- a/.github/workflows/pretty-fix.yml +++ b/.github/workflows/pretty-fix.yml @@ -14,7 +14,7 @@ jobs: permissions: write-all runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up date environment variables run: | echo "BRANCH_TITLE=pretty-fix-$(date +%s)" >> $GITHUB_ENV @@ -32,6 +32,8 @@ jobs: run: npm run pretty-fix - name: Create commits + id: commits + continue-on-error: true run: | git config user.name 'monkeytypegeorge' git config user.email 'monkeytypegeorge@gmail.com' @@ -39,7 +41,7 @@ jobs: git commit -m 'Prettier fix' - name: Create pull request - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v4 with: branch: ${{ env.BRANCH_TITLE }} title: ${{ env.PR_TITLE }}