Skip to content

Commit

Permalink
GitHub Actions: Update CI trigger conditions for push and pull requests
Browse files Browse the repository at this point in the history
The workflow now triggers only for pushes to 'main' and ignores changes
to specific files like .gitignore, LICENSE, and README.md. Additionally,
it triggers on pull requests targeting the 'main' branch, enhancing
clarity and efficiency in pipeline execution.
  • Loading branch information
saschpe committed Jan 30, 2025
1 parent ffee64e commit bc56cc1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
name: Main CI
on: [ push ]

on:
push:
branches:
- main
paths-ignore:
- .gitignore
- LICENSE
- README.md
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit bc56cc1

Please sign in to comment.