From 71962aabd8148d8fd077dbeb747f64d1d018d262 Mon Sep 17 00:00:00 2001 From: kopardev Date: Thu, 28 Mar 2024 17:36:06 -0400 Subject: [PATCH] chore: adding GHAs --- .github/workflows/add_reponame_labels.yml | 10 ++++++++++ .github/workflows/auto-add-user-project.yml | 16 ++++++++++++++++ .github/workflows/docs.yml | 20 ++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 .github/workflows/add_reponame_labels.yml create mode 100644 .github/workflows/auto-add-user-project.yml create mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/add_reponame_labels.yml b/.github/workflows/add_reponame_labels.yml new file mode 100644 index 0000000..a6d4acb --- /dev/null +++ b/.github/workflows/add_reponame_labels.yml @@ -0,0 +1,10 @@ +name: Auto add reponame as label to all issues and PRs + +on: + issues: + pull_request: + +jobs: + add_label: + uses: CCBR/.github/.github/workflows/add_reponame_issue_label.yml@v0.2.0 + secrets: inherit diff --git a/.github/workflows/auto-add-user-project.yml b/.github/workflows/auto-add-user-project.yml new file mode 100644 index 0000000..7fdaa6e --- /dev/null +++ b/.github/workflows/auto-add-user-project.yml @@ -0,0 +1,16 @@ +name: Add to personal projects + +on: + issues: + types: + - assigned + pull_request: + types: + - assigned + +jobs: + add-to-project: + uses: CCBR/.github/.github/workflows/auto-add-user-project.yml@6af5593b1ad6d7ee2b7f4c23b351902d4baaacd6 + with: + username: ${{ github.event.assignee.login }} + secrets: inherit diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000..534fa92 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,20 @@ +name: docs +on: + workflow_dispatch: + push: + branches: + - main + paths: + - "docs/**" + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + with: + python-version: 3.11 + - run: pip install --upgrade pip + - run: pip install -r docs/requirements.txt + - run: mkdocs gh-deploy --force