Skip to content

Commit

Permalink
fix: fetch master
Browse files Browse the repository at this point in the history
  • Loading branch information
undead404 committed Mar 5, 2024
1 parent ec95d27 commit 8643a38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Fetch master
run: git fetch origin master
- env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: Create Pull Request
# Creates a PR from current branch to master
run: |
gh pr create --base master --head origin/${GITHUB_REF#refs/heads/} --fill
gh pr create --base master --head ${GITHUB_REF#refs/heads/} --fill
name: Create Pull Request
on:
push:
Expand Down

0 comments on commit 8643a38

Please sign in to comment.