From e5ea08c1fb8455a38648ee2259c3a5642f29f8a6 Mon Sep 17 00:00:00 2001 From: Emotion Date: Mon, 25 Jul 2022 01:31:36 +1200 Subject: [PATCH 1/5] Create add-to-project.yml --- .github/workflows/add-to-project.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/add-to-project.yml diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml new file mode 100644 index 0000000..b1bc889 --- /dev/null +++ b/.github/workflows/add-to-project.yml @@ -0,0 +1,15 @@ +name: Add to Project + +on: pull_request + +jobs: + add-to-project: + runs-on: ubuntu-latest + steps: + - name: Add To GitHub projects + uses: actions/add-to-project@v0.3.0 + with: + # URL of the project to add issues to + project-url: EllieBotDevs/Ellie-bot + # A GitHub personal access token with write access to the project + github-token: "${{ secrets.GH_PAT }}" From 6146953bb0b8a63524f0b1d163bd0e41b84382c1 Mon Sep 17 00:00:00 2001 From: Emotion Date: Mon, 25 Jul 2022 01:39:56 +1200 Subject: [PATCH 2/5] Update add-to-project.yml --- .github/workflows/add-to-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index b1bc889..837003d 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -12,4 +12,4 @@ jobs: # URL of the project to add issues to project-url: EllieBotDevs/Ellie-bot # A GitHub personal access token with write access to the project - github-token: "${{ secrets.GH_PAT }}" + github-token: "${{ secrets.GITHUB_TOKEN }}" From dd7809ba409eddb5c9771082191732ea467e29fb Mon Sep 17 00:00:00 2001 From: Emotion Date: Mon, 25 Jul 2022 01:42:23 +1200 Subject: [PATCH 3/5] Create release.yml --- .github/workflows/release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..ff25ae1 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Release from Changelog + +on: + push: + tags: + - "v*" + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + release_version: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Generate GitHub Release + uses: lsegal/github-release-from-changelog-action@latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 9dcfd5c1e2b07e64ad20cee111773fcb57829c9c Mon Sep 17 00:00:00 2001 From: Emotion Date: Mon, 25 Jul 2022 01:44:24 +1200 Subject: [PATCH 4/5] Update add-to-project.yml --- .github/workflows/add-to-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 837003d..dd3708e 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -10,6 +10,6 @@ jobs: uses: actions/add-to-project@v0.3.0 with: # URL of the project to add issues to - project-url: EllieBotDevs/Ellie-bot + project-url: https://github.com/orgs/EllieBotDevs/projects/3 # A GitHub personal access token with write access to the project github-token: "${{ secrets.GITHUB_TOKEN }}" From 17f4d446e378dfc18e7a7f55ea08ce895882b957 Mon Sep 17 00:00:00 2001 From: Emotion Date: Mon, 25 Jul 2022 01:45:17 +1200 Subject: [PATCH 5/5] Delete add-to-project.yml --- .github/workflows/add-to-project.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .github/workflows/add-to-project.yml diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml deleted file mode 100644 index dd3708e..0000000 --- a/.github/workflows/add-to-project.yml +++ /dev/null @@ -1,15 +0,0 @@ -name: Add to Project - -on: pull_request - -jobs: - add-to-project: - runs-on: ubuntu-latest - steps: - - name: Add To GitHub projects - uses: actions/add-to-project@v0.3.0 - with: - # URL of the project to add issues to - project-url: https://github.com/orgs/EllieBotDevs/projects/3 - # A GitHub personal access token with write access to the project - github-token: "${{ secrets.GITHUB_TOKEN }}"