Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
andykog committed Dec 4, 2024
1 parent 151eb71 commit 62a343d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
git commit -am "chore: Bump version ($VERSION)"
git push --set-upstream origin "bump-version-$VERSION"
PR_URL="$(gh pr create --title "chore: Bump version ($VERSION)" --body 'This is automatic PR to bump version')"
gh pr merge --auto -r "$PR_URL"
gh pr merge --auto
gh pr merge --auto --squash "$PR_URL"
gh release create "$VERSION" \
--repo="$GITHUB_REPOSITORY" \
--title="${VERSION#v}" \
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Test

on:
pull_request:
branches:
- master
push:
branches: ['master']
pull_request_target:
branches: ['master']
branches:
- master

permissions:
contents: read

jobs:
test:
Expand Down

0 comments on commit 62a343d

Please sign in to comment.