From cc5cb536982664e9e696bc6cc8eae6a0caa908ed Mon Sep 17 00:00:00 2001 From: alexh97 Date: Wed, 26 Feb 2020 13:55:08 -0500 Subject: [PATCH 1/2] Updated project-assigner action version and access key --- .github/workflows/pr-project-assigner.yml | 4 ++-- .github/workflows/project-assigner.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-project-assigner.yml b/.github/workflows/pr-project-assigner.yml index c85b4b3b8fe79..517aefb36e8d6 100644 --- a/.github/workflows/pr-project-assigner.yml +++ b/.github/workflows/pr-project-assigner.yml @@ -8,7 +8,7 @@ jobs: name: Assign a PR to project based on label steps: - name: Assign to project - uses: elastic/github-actions/project-assigner@v1.0.2 + uses: elastic/github-actions/project-assigner@v1.0.3 id: project_assigner with: issue-mappings: | @@ -17,4 +17,4 @@ jobs: { "label": "Feature:Lens", "projectName": "Lens", "columnId": 6219362 }, { "label": "Team:Canvas", "projectName": "canvas", "columnId": 6187580 } ] - ghToken: ${{ secrets.GITHUB_TOKEN }} + ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }} diff --git a/.github/workflows/project-assigner.yml b/.github/workflows/project-assigner.yml index efcf53c722527..08be831e0664c 100644 --- a/.github/workflows/project-assigner.yml +++ b/.github/workflows/project-assigner.yml @@ -8,10 +8,10 @@ jobs: name: Assign issue or PR to project based on label steps: - name: Assign to project - uses: elastic/github-actions/project-assigner@v1.0.2 + uses: elastic/github-actions/project-assigner@v1.0.3 id: project_assigner with: issue-mappings: '[{"label": "Team:AppArch", "projectName": "kibana-app-arch", "columnId": 6173895}, {"label": "Feature:Lens", "projectName": "Lens", "columnId": 6219363}, {"label": "Team:Canvas", "projectName": "canvas", "columnId": 6187593}]' - ghToken: ${{ secrets.GITHUB_TOKEN }} + ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }} From caeca481243f1254496fa083a6a8cd76a8856615 Mon Sep 17 00:00:00 2001 From: alexh97 Date: Wed, 26 Feb 2020 14:01:24 -0500 Subject: [PATCH 2/2] Deleted the test workflow --- .github/workflows/pr-project-assigner-pat.yml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .github/workflows/pr-project-assigner-pat.yml diff --git a/.github/workflows/pr-project-assigner-pat.yml b/.github/workflows/pr-project-assigner-pat.yml deleted file mode 100644 index 922043f210f22..0000000000000 --- a/.github/workflows/pr-project-assigner-pat.yml +++ /dev/null @@ -1,18 +0,0 @@ -on: - pull_request: - types: [labeled, unlabeled] - -jobs: - assign_to_project: - runs-on: ubuntu-latest - name: Assign a PR to project based on label - steps: - - name: Assign to project - uses: elastic/github-actions/project-assigner@v1.0.2 - id: project_assigner - with: - issue-mappings: | - [ - { "label": "pa_test", "projectName": "Workflow Test", "columnId": 7922444 } - ] - ghToken: ${{ secrets.GH_PAT }}