Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ jobs:
visibility: ${{ startsWith(github.ref, 'refs/tags/') && 'public' || '' }}
name: CI
"on":
pull_request: {}
pull_request:
types:
- opened
- synchronize
- reopened
- stacked
push:
branches:
- master
Expand Down
2 changes: 1 addition & 1 deletion dev/flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
name = "CI";

on = {
pullRequest = {};
pullRequest.types = ["opened" "synchronize" "reopened" "stacked"];
workflowDispatch = {};
push = {
branches = ["master"];
Expand Down
6 changes: 5 additions & 1 deletion hk.pkl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ local linters = new Mapping<String, Step> {
}

// Infrastructure:
["actionlint"] = Builtins.actionlint
["actionlint"] = (Builtins.actionlint) {
// GitHub added this native-stack event before actionlint's event table.
// Ignore only this diagnostic until actionlint recognizes it.
check = "actionlint -ignore '^invalid activity type \"stacked\" for \"pull_request\" Webhook event\\.' {{files}}"
}

// Configuration files:
["pkl"] = Builtins.pkl
Expand Down
1 change: 1 addition & 0 deletions modules/types/triggers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ in rec {
"closed"
"reopened"
"synchronize"
"stacked"
"converted_to_draft"
"ready_for_review"
"locked"
Expand Down
Loading