Skip to content

Commit

Permalink
Merge remote-tracking branch 'DayDreamMods/action-template/main' into…
Browse files Browse the repository at this point in the history
… updated/template/action-template
  • Loading branch information
wwwDayDream committed Sep 26, 2024
2 parents 4cf57d9 + 8168833 commit 113e1dd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/organization-template-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
uses: actions/checkout@v4
with:
token: ${{ secrets.ORG_PAT }}
submodules: true
repository: ${{ matrix.target-repo.full_name }}
ref: ${{ matrix.target-repo.default_branch }}
fetch-depth: 0
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Repo Policy

on:
pull_request:
branches:
- '**'

jobs:
branch-naming-policy:
name: Branch Name
runs-on: ubuntu-latest

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

- name: Run Branch Naming Policy Action
uses: nicklegan/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
regex: '(?:(?:(?:added){1}|(?:changed){1}|(?:deprecated){1}|(?:removed){1}|(?:fixed){1}|(?:secured){1}|(?:updated){1})(\/[a-z\d-]+)+|(main))$'

0 comments on commit 113e1dd

Please sign in to comment.