From 0be3b40ed5828a6e1c3814cf905133eb7bc06a01 Mon Sep 17 00:00:00 2001 From: c00593292 Date: Sat, 7 Oct 2023 18:32:23 +0800 Subject: [PATCH] chore: add .github workflows --- .github/workflows/auto-assign.yml | 19 +++++++++++++++++++ .github/workflows/proof-html.yml | 11 +++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/auto-assign.yml create mode 100644 .github/workflows/proof-html.yml diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml new file mode 100644 index 0000000..8a65318 --- /dev/null +++ b/.github/workflows/auto-assign.yml @@ -0,0 +1,19 @@ +name: Auto Assign +on: + issues: + types: [opened] + pull_request: + types: [opened] +jobs: + run: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - name: 'Auto-assign issue' + uses: pozil/auto-assign-issue@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + assignees: hongxuchen + numOfAssignee: 1 diff --git a/.github/workflows/proof-html.yml b/.github/workflows/proof-html.yml new file mode 100644 index 0000000..be7dac3 --- /dev/null +++ b/.github/workflows/proof-html.yml @@ -0,0 +1,11 @@ +name: Proof HTML +on: + push: + workflow_dispatch: +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: anishathalye/proof-html@v1.1.0 + with: + directory: ./