diff --git a/.github/workflows/jakarta-rewrite.yml b/.github/workflows/jakarta-rewrite.yml index fda5882eb87fa..bca556e3828c3 100644 --- a/.github/workflows/jakarta-rewrite.yml +++ b/.github/workflows/jakarta-rewrite.yml @@ -11,7 +11,9 @@ jobs: name: Rewrite to Jakarta if: github.repository == 'quarkusio/quarkus' steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + with: + token: ${{ secrets.JAKARTA_PUSH_PAT }} - name: Set up JDK 11 uses: actions/setup-java@v2 with: @@ -33,13 +35,8 @@ jobs: REWRITE_NO_TESTS=true ./jakarta/transform.sh git add . git commit -m 'Transform sources to Jakarta' + git push --force origin temp-jakarta-rewrite:jakarta-rewrite shell: bash - - name: Push changes to jakarta-rewrite - uses: ad-m/github-push-action@v0.6.0 - with: - github_token: ${{ secrets.JAKARTA_PUSH_PAT }} - force: true - branch: jakarta-rewrite - name: Report status if: "always() && github.repository == 'quarkusio/quarkus'" shell: bash