From 7483a3be6f55d96b687125fcd86588a954237e1f Mon Sep 17 00:00:00 2001 From: protitude Date: Mon, 13 Jan 2025 11:06:53 -0700 Subject: [PATCH] github: add actions --- .github/ISSUE_TEMPLATE/bug_report.md | 38 ++++++++++++++++++++++++++++ .github/workflows/releases.yml | 13 ++++++++++ .github/workflows/test.yml | 11 ++++++++ 3 files changed, 62 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/workflows/releases.yml create mode 100644 .github/workflows/test.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..dd84ea7 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,38 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: '' +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Smartphone (please complete the following information):** + - Device: [e.g. iPhone6] + - OS: [e.g. iOS8.1] + - Browser [e.g. stock browser, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml new file mode 100644 index 0000000..f99e51e --- /dev/null +++ b/.github/workflows/releases.yml @@ -0,0 +1,13 @@ +name: (M) Create Release +on: + workflow_dispatch: + inputs: + version: + description: 'Tag next major/minor release. Use 1.x.x scheme. Leave default iterate to auto tag the next patch version.' + required: true + default: 'iterate' +permissions: + contents: write +jobs: + release: + uses: UCBoulder/oitid_reusable_actions/.github/workflows/releases.yml@main diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..2deaf0d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,11 @@ +name: (A) Tests +on: + push: + branches: + - '*' +jobs: + deploy: + uses: UCBoulder/oitid_reusable_actions/.github/workflows/testing.yml@v1 + secrets: + phpstan_level: "0" + ralphie_token: ${{ secrets.RALPHIE_TOKEN }}