Skip to content

Commit

Permalink
update changelog action
Browse files Browse the repository at this point in the history
  • Loading branch information
SlayerAnsh committed May 22, 2024
1 parent 4ac37a3 commit 5a6ab99
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: Changelog and Version Bump Check

on:
push:
branches:
- development
- main
pull_request:
branches:
- development
- main
- development

jobs:
check-changelog-version:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Get list of changed files
id: changed-files
run: |
echo "::set-output name=files::$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | tr '\n' ' ')"
git fetch origin ${{ github.event.pull_request.base.ref }}
echo "::set-output name=files::$(git diff --name-only origin/${{ github.event.pull_request.base.ref }} ${{ github.sha }} | tr '\n' ' ')"
- name: Determine changed packages
id: determine-packages
Expand Down

0 comments on commit 5a6ab99

Please sign in to comment.