From b5cfd6d856a26063b0091b7b10aa9663bf0b42e8 Mon Sep 17 00:00:00 2001 From: Michael Vandeberg Date: Tue, 22 Nov 2022 14:23:34 -0800 Subject: [PATCH 1/2] Fix issue management workflow --- .github/workflows/add_to_project.yml | 4 ++-- .github/workflows/close_issues.yml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/add_to_project.yml b/.github/workflows/add_to_project.yml index 902cc30..135cb52 100644 --- a/.github/workflows/add_to_project.yml +++ b/.github/workflows/add_to_project.yml @@ -1,4 +1,4 @@ -name: Auto assign to project +name: Auto Assign to Project on: issues: @@ -9,5 +9,5 @@ on: jobs: assign_to_project: uses: koinos/koinos-github-workflows/.github/workflows/add_to_project.yml@master - with: + secrets: github-token: ${{ secrets.ISSUE_MANAGEMENT_TOKEN }} diff --git a/.github/workflows/close_issues.yml b/.github/workflows/close_issues.yml index e9f4faf..dcbe063 100644 --- a/.github/workflows/close_issues.yml +++ b/.github/workflows/close_issues.yml @@ -1,5 +1,4 @@ name: Close inactive issues - on: schedule: - cron: "0 0 * * *" # Run every day at midnight @@ -7,5 +6,5 @@ on: jobs: close-issues: uses: koinos/koinos-github-workflows/.github/workflows/close_issues.yml@master - with: + secrets: github-token: ${{ secrets.ISSUE_MANAGEMENT_TOKEN }} From fa49e122647cf05601349ad5ea4d08f793948ab7 Mon Sep 17 00:00:00 2001 From: Michael Vandeberg Date: Tue, 22 Nov 2022 14:39:13 -0800 Subject: [PATCH 2/2] Fix capitaliztion and spacing --- .github/workflows/add_to_project.yml | 2 +- .github/workflows/close_issues.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/add_to_project.yml b/.github/workflows/add_to_project.yml index 135cb52..e9d82be 100644 --- a/.github/workflows/add_to_project.yml +++ b/.github/workflows/add_to_project.yml @@ -1,4 +1,4 @@ -name: Auto Assign to Project +name: Auto assign to project on: issues: diff --git a/.github/workflows/close_issues.yml b/.github/workflows/close_issues.yml index dcbe063..902a052 100644 --- a/.github/workflows/close_issues.yml +++ b/.github/workflows/close_issues.yml @@ -1,4 +1,5 @@ name: Close inactive issues + on: schedule: - cron: "0 0 * * *" # Run every day at midnight