Skip to content

Commit

Permalink
Trigger GitHub Actions consistently (#423)
Browse files Browse the repository at this point in the history
All GitHub Actions used for continuous integration are now triggered in the same
way. This ensures that all relevant actions run on every pull request,
irrespective whether the pull request was opened from a fork or not.
  • Loading branch information
jdno authored Jan 2, 2025
1 parent 0d4792c commit 2c0dc75
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/flowcrafter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
library:

Check warning on line 1 in .github/flowcrafter.yml

View workflow job for this annotation

GitHub Actions / Lint code

1:1 [document-start] missing document start "---"
github:
instance: https://api.github.com/
owner: jdno
repository: workflows
4 changes: 4 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Action

"on":
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
# The repository contains the action itself in the dist/ directory. Whenever
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: JSON
branches:
- main
pull_request:
workflow_dispatch:

jobs:
detect-changes:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: Markdown
branches:
- main
pull_request:
workflow_dispatch:

jobs:
detect-changes:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: TypeScript
branches:
- main
pull_request:
workflow_dispatch:

jobs:
detect-changes:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ name: YAML
branches:
- main
pull_request:
workflow_dispatch:

jobs:
detect-changes:
Expand Down

0 comments on commit 2c0dc75

Please sign in to comment.