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

RN up #35

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@injas427
3 changes: 2 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/template" # Location of package manifests
schedule:
interval: "daily"
interval: "weekly"
target-branch: "develop"
16 changes: 16 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Changelog Generator
on:
pull_request:
branches:
- develop
types: [opened, reopened, synchronize]

jobs:
changelog:
name: Chanegelog Generator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: etcdigital/pull-request-changelog@master
with:
token: ${{ secrets.GH_WORKFLOW_CHANGELOG }}
19 changes: 19 additions & 0 deletions .github/workflows/restrict-merges.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Enforce Merge Source Branch

on:
pull_request:
branches:
- main # Replace with your protected branch name

jobs:
restrict-source-branch:
runs-on: ubuntu-latest

steps:
- name: Check source branch
run: |
if [[ "${{ github.base_ref }}" != "main" || "${{ github.head_ref }}" != "develop" ]]; then
echo "Pull requests to main must originate from develop."
exit 1
fi
shell: bash
Loading
Loading