Skip to content

Commit

Permalink
Fix PR step syntax
Browse files Browse the repository at this point in the history
Include all the run commands of clone, cd, fetch, and pr in one run block not separate steps to simplify the context.
  • Loading branch information
darksidemilk authored Aug 5, 2024
1 parent 745db0c commit 4374b01
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/stable-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ jobs:
create-release-pull-request:
runs-on: ubuntu-latest
steps:
- name: clone repo, cd into it, and fetch all
run: gh repo clone FOGProject/fogproject && cd fogproject && git fetch --all
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: create pull request
run: gh pr create -B stable -H dev-branch --title 'Monthly Release PR' --body 'Created by Github action'
run: |
gh repo clone FOGProject/fogproject
cd fogproject
git fetch --all
gh pr create -B stable -H dev-branch --title 'Monthly Release PR' --body 'Created by Github action'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# release-stable:
Expand Down

0 comments on commit 4374b01

Please sign in to comment.