Skip to content

Commit

Permalink
Sort out pr thing
Browse files Browse the repository at this point in the history
  • Loading branch information
owenatgov committed Jan 22, 2025
1 parent 53071c5 commit 1dc1858
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,17 @@ jobs:
await generateReleaseNotes()
- name: Run tests
run: npm run test

- name: Build release
run: npm run build:release

- name: Create pull request
run: gh pr create --title "Release ${{ inputs.version }}" --body-file "release-notes-body"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: gh pr create --title "Release ${{ inputs.version }}" --body-file "release-notes-body"
run: |
git config --global user.name 'govuk-design-system-ci'
git config --global user.email '[email protected]'
git commit -am "Release TEST"
git checkout -b release-TEST
git push -u origin release-TEST
gh pr create --base main --head release-TEST --title "Release TEST" --body-file "release-notes-body"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dist/
*.log
*.tsbuildinfo
*.zip
release-notes-body

# Project lockfile only
package-lock.json
Expand Down

0 comments on commit 1dc1858

Please sign in to comment.