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

find a way to early exit release workflow if commits won't trigger a release #3362

Open
brian-smith-tcril opened this issue Dec 12, 2024 · 0 comments

Comments

@brian-smith-tcril
Copy link
Contributor

https://github.com/openedx/paragon/blob/release-22.x/.github/workflows/release.yml has to go through all of

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm run test
- name: Build
run: npm run build
- name: Build Docs
run: npm run build-docs
- name: Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

just to see that a chore: commit was pushed and no new release should be made.

image

it'd be great (from a saving time and saving carbon stand point) to be able to skip all of that and just end the workflow if we aren't trying to release the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant