Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release for v0.2.0 #27

Merged
merged 12 commits into from
Mar 15, 2024
Prev Previous commit
Next Next commit
ci(tagpr): Run tagpr on main branch (#13)
Manually open a PR from dev to main.
  • Loading branch information
5ouma committed Mar 12, 2024
commit 76bf157c8713a23e12ccf7a7d3c3cba830d2d4fc
17 changes: 17 additions & 0 deletions .github/workflows/branch-delete.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: ❌ Branch Delete

on:
pull_request:
types:
- closed

jobs:
Delete-Branch:
runs-on: Ubuntu-Latest

steps:
- name: ❌ Delete Branch
if: ${{ github.head_ref != 'dev'}}
uses: SvanBoxel/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ jobs:

steps:
- name: 🚫 Base Branch is wrong
if: ${{ github.base_ref == 'main' && github.head_ref != 'dev' && !startsWith(github.base_ref, 'tagpr-from-') }}
run: echo "Base branch should be \`dev\`." && return 1
if: ${{ github.base_ref == 'main' && github.head_ref != 'dev' }}
run: echo "Base branch should be \`dev\`." && exit 1
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ name: 🚀 Release
on:
push:
branches:
- "dev"
- "main"

permissions:
contents: write
pull-requests: write

jobs:
Expand Down