Skip to content

Commit

Permalink
Merge branch 'main' into revert-branch-integration-on-release
Browse files Browse the repository at this point in the history
  • Loading branch information
skhalash authored Dec 17, 2024
2 parents 13904de + b824572 commit 8b6c8d9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/pr-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Check Release Branch

on:
pull_request:
branches:
- "release-*"
jobs:
validate-envs:
name: Validate .env file
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

# check that the .env file does not contain references to the main branch
- name: Check .env file
run: |
if grep -q "main" .env; then
echo "The .env file contains references to the main branch"
exit 1
fi

0 comments on commit 8b6c8d9

Please sign in to comment.