Skip to content

Commit

Permalink
Merge pull request #83 from casper-network/exp/workflow/001-melpadden…
Browse files Browse the repository at this point in the history
…-patch-1

Create branch-naming-convention.yml
  • Loading branch information
melpadden authored Jul 24, 2024
2 parents ef6e9fa + f749308 commit fb41a79
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/branch-naming-convention.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Branch Naming Policy Action

on:
create:
delete:
pull_request:
branches:
- main

jobs:
branch-naming-policy:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run Branch Naming Policy Action
uses: nicklegan/[email protected]
if: github.ref_type == 'branch' || github.ref_type == 'pull_request'
with:
token: ${{ secrets.GITHUB_TOKEN }}
regex: '^(feat|issue|fix|exp)\/([a-z0-9]+)\/([0-9]+)-([a-z0-9]+)'
# flags: i
# token: ${{ secrets.REPO_TOKEN }}
# delete: true

0 comments on commit fb41a79

Please sign in to comment.