From 9a2c8bc7398648f3f0e794642ec23db2b879910c Mon Sep 17 00:00:00 2001 From: lwjohnst86 Date: Wed, 3 Jul 2024 16:25:37 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=94=84=20created=20local=20'.github/w?= =?UTF-8?q?orkflows/add-to-project.yml'=20from=20remote=20'.github/workflo?= =?UTF-8?q?ws/add-to-project.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/add-to-project.yml | 37 ++++++++++++++++++++++++++++ 1 file changed, 37 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 00000000..dddcc490 --- /dev/null +++ b/.github/workflows/add-to-project.yml @@ -0,0 +1,37 @@ +name: Add to project board + +on: + issues: + types: + - opened + - reopened + - transferred + pull_request: + types: + - reopened + - opened + +permissions: + pull-requests: write + +jobs: + add-to-project: + name: Add to project + runs-on: ubuntu-latest + steps: + - name: Add issue or PR to project board + uses: actions/add-to-project@v1.0.2 + with: + project-url: https://github.com/orgs/seedcase-project/projects/18 + github-token: ${{ secrets.ADD_TO_BOARD }} + + - name: Assign PR to creator + if: ${{ github.event_name == 'pull_request' }} + run: | + gh pr edit $PR --add-assignee $AUTHOR + env: + AUTHOR: ${{ github.event.pull_request.user.login }} + PR: ${{ github.event.pull_request.html_url }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + From c4216bb255055267eef25a6b7d236e32eb3d53dc Mon Sep 17 00:00:00 2001 From: lwjohnst86 Date: Wed, 3 Jul 2024 16:25:37 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/wo?= =?UTF-8?q?rkflows/deploy-demo.yml'=20with=20remote=20'common/actions/depl?= =?UTF-8?q?oy-demo.yml'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-demo.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml index 2285194a..f8ac5ffc 100644 --- a/.github/workflows/deploy-demo.yml +++ b/.github/workflows/deploy-demo.yml @@ -5,13 +5,20 @@ on: branches: - main paths-ignore: - - "docs/**" + # Config files - ".github/**" - ".vscode/**" + - ".gitignore" + # Documentation + - "docs/**" - "*.md" - "*.qmd" - - ".gitignore" - "justfile" + # Website files + - _quarto.yml + - index.qmd + - _publish.yml + - _extensions/** jobs: lint: From 25149e93d8f342a5a5f7fafeba8c375b19480929 Mon Sep 17 00:00:00 2001 From: lwjohnst86 Date: Wed, 3 Jul 2024 16:25:37 +0000 Subject: [PATCH 3/4] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'justfile'?= =?UTF-8?q?=20with=20remote=20'common/justfile/django'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 422f834b..ffe5a423 100644 --- a/justfile +++ b/justfile @@ -1,11 +1,11 @@ @_default: just --list --unsorted -# Generate PNG images from all PlantUML files +# Generate SVG images from all PlantUML files generate-puml-all: docker run --rm -v $(pwd):/puml -w /puml ghcr.io/plantuml/plantuml:latest -tsvg "**/*.puml" -# Generate PNG image from specific PlantUML file +# Generate SVG image from specific PlantUML file generate-puml name: docker run --rm -v $(pwd):/puml -w /puml ghcr.io/plantuml/plantuml:latest -tsvg "**/{{name}}.puml" From d6522bdefc0cfa904b93976372093e493b7be217 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Wed, 3 Jul 2024 18:48:44 +0200 Subject: [PATCH 4/4] ci: :fire: no longer need this workflow --- .github/workflows/auto-author-assign.yml | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 .github/workflows/auto-author-assign.yml diff --git a/.github/workflows/auto-author-assign.yml b/.github/workflows/auto-author-assign.yml deleted file mode 100644 index 7277937d..00000000 --- a/.github/workflows/auto-author-assign.yml +++ /dev/null @@ -1,16 +0,0 @@ -# .github/workflows/auto-author-assign.yml -# https://github.com/marketplace/actions/auto-author-assign -name: Auto Author Assign - -on: - pull_request_target: - types: [ opened, reopened ] - -permissions: - pull-requests: write - -jobs: - assign-author: - runs-on: ubuntu-latest - steps: - - uses: toshimaru/auto-author-assign@v2.1.0 \ No newline at end of file