You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/12/27 13:52:21 UTC
[airflow-cancel-workflow-runs] 05/44: Reenable branch filtering
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow-cancel-workflow-runs.git
commit 24356dc8cce3420533d5b0fb5b1eea5ba60d22bc
Author: Jason T. Greene <ja...@redhat.com>
AuthorDate: Tue Feb 4 03:35:49 2020 -0600
Reenable branch filtering
---
dist/index.js | 2 +-
src/main.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dist/index.js b/dist/index.js
index 3995113..1d02837 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1495,7 +1495,7 @@ function run() {
const listRuns = octokit.actions.listRepoWorkflowRuns.endpoint.merge({
owner,
repo,
- // branch,
+ branch,
event: 'push'
});
let matched = false;
diff --git a/src/main.ts b/src/main.ts
index bfe9c55..12547c2 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -37,7 +37,7 @@ async function run(): Promise<void> {
const listRuns = octokit.actions.listRepoWorkflowRuns.endpoint.merge({
owner,
repo,
- // branch,
+ branch,
event: 'push'
})