Skip to content

Commit

Permalink
chore: create pr on change
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Jan 6, 2025
1 parent 8e613cd commit 5b7f1fd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,22 @@ jobs:
go-version-file: ./tools/go.mod
check-latest: true
- run: make lint

build:
runs-on: ubuntu-latest
permissions:
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: ./tools/go.mod
check-latest: true
- run: make build
- uses: peter-evans/create-pull-request@v7
- if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"

0 comments on commit 5b7f1fd

Please sign in to comment.