-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Release | ||
on: | ||
push: | ||
branches: | ||
- releases | ||
release: | ||
types: | ||
- published | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 14 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Install the dependencies | ||
run: npm i | ||
|
||
- name: Install vsce | ||
run: npm i -g vsce | ||
|
||
- name: Publish | ||
run: vsce publish -p ${{ secrets.VSCE_PAT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Welcome New Contributors | ||
|
||
on: | ||
branches: | ||
- main | ||
pull_request_target: | ||
types: [ opened ] | ||
|
||
jobs: | ||
# Comments on a pull request when the author is a new contributor. | ||
post-welcome-message: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: bubkoo/welcome-action@8dbbac2540d155744c90e4e37da6b05ffc9c5e2c # v1.0.3 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.ACTION_TOKEN }} | ||
FIRST_PR_COMMENT: | ||
Hi @{{ author }}! 👋 | ||
Thank you for your contribution to ClassicPress Snippets! 💖 | ||
It looks like this is your first pull request. We appreciate and value your contribution! | ||
|
||
Please read our [contribution guide](CONTRIBUTING.md) to find out how you can be more involved. | ||
|
||
Thank you, | ||
Laurence, ClassicPress Snippets Team. |