Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: format files edited by
release-plz
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae2851d..8bd401c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ on: jobs: release: runs-on: ubuntu-latest + outputs: + pr-branch: steps.release-plz.outputs.head_branch steps: - uses: actions/checkout@v4 with: @@ -18,6 +20,7 @@ jobs: - name: Install rust toolchain uses: dtolnay/rust-toolchain@stable - name: Run release-plz + id: release-plz uses: MarcoIeni/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -25,10 +28,10 @@ jobs: fmt: needs: release - runs-on: ubutun-latest + runs-on: ubutu-latest steps: - uses: fregante/[email protected] - run: | make fmt git commit -am 'chore: format files' - git push + git push origin ${{ needs.release.outputs.pr-branch }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae2851d..1a4310c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ on: jobs: release: runs-on: ubuntu-latest + outputs: + pr-branch: steps.release-plz.outputs.head_branch steps: - uses: actions/checkout@v4 with: @@ -18,6 +20,7 @@ jobs: - name: Install rust toolchain uses: dtolnay/rust-toolchain@stable - name: Run release-plz + id: release-plz uses: MarcoIeni/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -25,10 +28,10 @@ jobs: fmt: needs: release - runs-on: ubutun-latest + runs-on: ubuntu-latest steps: - uses: fregante/[email protected] - run: | make fmt git commit -am 'chore: format files' - git push + git push origin ${{ needs.release.outputs.pr-branch }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae2851d..6f35f16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ on: jobs: release: runs-on: ubuntu-latest + outputs: + pr-branch: steps.release-plz.outputs.head_branch steps: - uses: actions/checkout@v4 with: @@ -18,17 +20,14 @@ jobs: - name: Install rust toolchain uses: dtolnay/rust-toolchain@stable - name: Run release-plz + id: release-plz uses: MarcoIeni/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - - fmt: - needs: release - runs-on: ubutun-latest - steps: - uses: fregante/[email protected] - - run: | + - name: fmt + run: | make fmt git commit -am 'chore: format files' - git push + git push origin ${{ needs.release.outputs.pr-branch }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae2851d..9ebe2fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ on: jobs: release: runs-on: ubuntu-latest + outputs: + pr-branch: steps.release-plz.outputs.head_branch steps: - uses: actions/checkout@v4 with: @@ -18,17 +20,17 @@ jobs: - name: Install rust toolchain uses: dtolnay/rust-toolchain@stable - name: Run release-plz + id: release-plz uses: MarcoIeni/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - fmt: - needs: release - runs-on: ubutun-latest - steps: - uses: fregante/[email protected] - - run: | - make fmt + - name: install dprint + uses: taiki-e/install-actions@dprint + - name: fmt + run: | + dprint fmt git commit -am 'chore: format files' - git push + git push origin ${{ needs.release.outputs.pr-branch }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae2851d..307dd7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,8 @@ on: jobs: release: runs-on: ubuntu-latest + outputs: + pr-branch: steps.release-plz.outputs.head_branch steps: - uses: actions/checkout@v4 with: @@ -18,17 +20,17 @@ jobs: - name: Install rust toolchain uses: dtolnay/rust-toolchain@stable - name: Run release-plz + id: release-plz uses: MarcoIeni/[email protected] env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} - fmt: - needs: release - runs-on: ubutun-latest - steps: - uses: fregante/[email protected] - - run: | - make fmt + - name: install dprint + uses: taiki-e/install-action@dprint + - name: fmt + run: | + dprint fmt git commit -am 'chore: format files' - git push + git push origin ${{ needs.release.outputs.pr-branch }}
- Loading branch information