Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Commit

Permalink
ci: Fix workflow not triggered correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo committed Jul 15, 2021
1 parent 9228b59 commit db37c18
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.head_ref }}

- name: Auto build
run: make build

- name: Auto commit
uses: EndBug/add-and-commit@v7
uses: stefanzweifel/git-auto-commit-action@v4
with:
default_author: github_actions
commit_message: Auto build to generate code
token: ${{ secrets.ROBOT_GITHUB_TOKEN }}

0 comments on commit db37c18

Please sign in to comment.