Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔄 synced file(s) with seedcase-project/.github #486

Merged
merged 4 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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 }}


16 changes: 0 additions & 16 deletions .github/workflows/auto-author-assign.yml

This file was deleted.

11 changes: 9 additions & 2 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -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"

Expand Down