Skip to content

Commit

Permalink
Update prod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bro-n-bro-0 authored Sep 25, 2024
1 parent 03026db commit 6f009e6
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Check if the release commit is in the main branch
run: |
TAG_COMMIT_SHA=$(git rev-list -n 1 ${{ github.ref }})
if git merge-base --is-ancestor $TAG_COMMIT_SHA origin/main; then
echo "The release commit is in the main branch."
else
echo "The release commit is not in the main branch."
exit 1
fi
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
Expand Down

0 comments on commit 6f009e6

Please sign in to comment.