Rename github folder to .github
This commit is contained in:
parent
8e667bf3ac
commit
1bcd01ed75
3 changed files with 0 additions and 0 deletions
53
.github/ISSUE_TEMPLATE/BugReport.yaml
vendored
Normal file
53
.github/ISSUE_TEMPLATE/BugReport.yaml
vendored
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
name: Bug Report
|
||||
description: Have a bug to report, use this template!
|
||||
labels:
|
||||
- Bug
|
||||
body:
|
||||
- type: input
|
||||
id: affected-version
|
||||
attributes:
|
||||
label: Affected Versions
|
||||
description: >-
|
||||
What version(s) of the stat-tracker module are you seeing this bug
|
||||
happen on? If you put "latest" your bug report will be invalidated.
|
||||
validations:
|
||||
required: true
|
||||
- type: input
|
||||
id: system-id
|
||||
attributes:
|
||||
label: Game System
|
||||
description: >-
|
||||
What game system are you using the module with when you encounter the
|
||||
bug?
|
||||
placeholder: dnd5e
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Bug Description
|
||||
description: >-
|
||||
Describe the bug you're encountering, the more detail you provide the
|
||||
better.
|
||||
validations:
|
||||
required: true
|
||||
- type: checkboxes
|
||||
id: affected-environments
|
||||
attributes:
|
||||
label: Affected Environments
|
||||
description: How are you accessing Foundry when you encounter this bug?
|
||||
options:
|
||||
- label: Desktop App
|
||||
required: false
|
||||
- label: Chrome
|
||||
required: false
|
||||
- label: Firefox
|
||||
required: false
|
||||
- type: textarea
|
||||
id: support-summary
|
||||
attributes:
|
||||
label: Support Data
|
||||
description: >-
|
||||
Please open the settings tab in Foundry's sidebar, click "Support &
|
||||
Issues", then press "Copy Report to Clipboard" and then paste that text
|
||||
into the box below
|
||||
11
.github/ISSUE_TEMPLATE/FeatureRequest.yaml
vendored
Normal file
11
.github/ISSUE_TEMPLATE/FeatureRequest.yaml
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
name: Feature Request
|
||||
description: Have a feature request? Use this template!
|
||||
labels:
|
||||
- Feature
|
||||
body:
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Description
|
||||
description: A clear and concise description of the problem or missing capability
|
||||
validations:
|
||||
required: true
|
||||
51
.github/workflows/draft-release.yaml
vendored
Normal file
51
.github/workflows/draft-release.yaml
vendored
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
name: Create Draft Release
|
||||
on: [workflow_dispatch]
|
||||
jobs:
|
||||
everything:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Checkout the repository
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# Install node and NPM
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "19"
|
||||
|
||||
# Install required packages
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
|
||||
- name: Reading the system.json for the version
|
||||
id: "version"
|
||||
run: cat prod.dist/system.json | echo version=`jq -r ".version"` >> "$GITHUB_OUTPUT"
|
||||
|
||||
# Check that tag doesn't exist
|
||||
- uses: mukunku/tag-exists-action@v1.5.0
|
||||
id: check-tag
|
||||
with:
|
||||
tag: "v${{ steps.version.outputs.version }}"
|
||||
|
||||
- name: "Ensure that the tag doesn't exist"
|
||||
if: ${{ steps.check-tag.outputs.exists == 'true' }}
|
||||
run: exit 1
|
||||
|
||||
- name: Move the manifest to a temp file
|
||||
id: manifest-move
|
||||
run: mv prod.dist/module.json prod.dist/module.temp.json
|
||||
|
||||
- name: Update the download property in the manifest
|
||||
id: manifest-update
|
||||
run: cat prod.dist/module.temp.json | jq -r --tab '.download = "https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.version }}/release.zip"' > prod.dist/module.json
|
||||
|
||||
- name: Create the zip
|
||||
run: zip -r release.zip prod.dist/*
|
||||
|
||||
- name: Create the draft release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
tag: "v${{ steps.version.outputs.version }}"
|
||||
commit: ${{ github.ref }}
|
||||
draft: true
|
||||
generateReleaseNotes: true
|
||||
artifacts: "release.zip,prod.dist/module.json"
|
||||
Loading…
Add table
Add a link
Reference in a new issue