-
Notifications
You must be signed in to change notification settings - Fork 353
Commit
Update issue and PR templates, add/delete workflow files
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: Bug report | ||
about: Create a bug report | ||
title: '' | ||
labels: bug, needs triage | ||
assignees: '' | ||
|
||
--- | ||
|
||
<!--- Please direct any generic questions related to actions to our support community forum at https://github.com/orgs/community/discussions ---> | ||
<!--- Before opening up a new bug report, please make sure to check for similar existing issues --> | ||
|
||
**Description:** | ||
A clear and concise description of what the bug is. | ||
|
||
**Action version:** | ||
Specify the action version | ||
|
||
**Platform:** | ||
- [ ] Ubuntu | ||
- [ ] macOS | ||
- [ ] Windows | ||
|
||
**Runner type:** | ||
- [ ] Hosted | ||
- [ ] Self-hosted | ||
|
||
**Repro steps:** | ||
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link. | ||
|
||
**Expected behavior:** | ||
A description of what you expected to happen. | ||
|
||
**Actual behavior:** | ||
A description of what is actually happening. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
--- | ||
name: Feature request | ||
about: Propose a new feature or an enhancement | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: enhancement | ||
labels: feature request, needs triage | ||
assignees: '' | ||
--- | ||
|
||
## The problem | ||
<!--- Please direct any generic questions related to actions to our support community forum at https://github.com/orgs/community/discussions ---> | ||
<!--- Before opening up a new bug report, please make sure to check for similar existing issues --> | ||
|
||
## The solution | ||
**Description:** | ||
Describe your proposal. | ||
|
||
**Justification:** | ||
Justification or a use case for your proposal. | ||
|
||
**Are you willing to submit a PR?** | ||
<!--- We accept contributions! --> |
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
<!-- List the change(s) you're making with this PR. --> | ||
**Description:** | ||
Describe your changes. | ||
|
||
## Changes | ||
**Related issue:** | ||
Add link to the related issue. | ||
|
||
- [x] ... | ||
|
||
## Context | ||
|
||
<!-- Explain why you're making the change(s). --> | ||
<!-- If you're closing an issue with this PR, [link them with a keyword](https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword). --> | ||
**Check list:** | ||
- [ ] Mark if documentation changes are required. | ||
- [ ] Mark if tests were added or updated to cover the changes. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Build & Test | ||
on: | ||
pull_request: | ||
paths-ignore: | ||
- '**.md' | ||
push: | ||
branches: | ||
- main | ||
- releases/* | ||
paths-ignore: | ||
- '**.md' | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.operating-system }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
operating-system: [ubuntu-latest, windows-latest, macOS-latest] | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set Node.js 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x | ||
cache: npm | ||
|
||
- name: Install dependencies | ||
run: npm ci --ignore-scripts | ||
|
||
- name: Format, lint, build and test | ||
run: npm run all:ci | ||
|
||
dry-run-test: # make sure the action works on a clean machine without building | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ./ | ||
id: stale | ||
with: | ||
stale-issue-message: 'This issue is stale' | ||
stale-pr-message: 'This PR is stale' | ||
debug-only: true | ||
- name: Print outputs | ||
run: echo ${{ format('{0},{1}', toJSON(steps.stale.outputs.staled-issues-prs), toJSON(steps.stale.outputs.closed-issues-prs)) }} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
name: Licensed | ||
|
||
on: | ||
push: {branches: main} | ||
pull_request: {branches: main} | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: Check licenses | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: npm ci | ||
- uses: actions/checkout@v3 | ||
- run: npm ci --ignore-scripts | ||
- name: Install licensed | ||
run: | | ||
cd $RUNNER_TEMP | ||
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz | ||
curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/3.9.0/licensed-3.9.0-linux-x64.tar.gz | ||
sudo tar -xzf licensed.tar.gz | ||
sudo mv licensed /usr/local/bin/licensed | ||
- run: licensed status |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Release new action version | ||
on: | ||
release: | ||
types: [released] | ||
workflow_dispatch: | ||
inputs: | ||
TAG_NAME: | ||
description: 'Tag name that the major tag will point to' | ||
required: true | ||
|
||
env: | ||
TAG_NAME: ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} | ||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
update_tag: | ||
name: Update the major tag to include the ${{ github.event.inputs.TAG_NAME || github.event.release.tag_name }} changes | ||
environment: | ||
name: releaseNewActionVersion | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Update the ${{ env.TAG_NAME }} tag | ||
uses: actions/publish-action@v0.2.1 | ||
with: | ||
source-tag: ${{ env.TAG_NAME }} | ||
slack-webhook: ${{ secrets.SLACK_WEBHOOK }} |
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.