Skip to content
This repository was archived by the owner on Mar 2, 2021. It is now read-only.

Commit b738dc4

Browse files
authored
Merge pull request #9 from OpenAstronomy/dependabot/npm_and_yarn/vercel/ncc-0.27.0
Bump @vercel/ncc from 0.26.1 to 0.27.0
2 parents 2f0cdb9 + bbb47d8 commit b738dc4

File tree

4 files changed

+114
-340
lines changed

4 files changed

+114
-340
lines changed

README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ skip CI for that PR.
2020
*Note: If GitHub Actions ever supports this feature natively for pull requests,
2121
then we do not need this action.*
2222

23-
#### Ways to customize
23+
## Ways to customize
2424

2525
The behavior described above is the default, but it could be customized
2626
using these options (also see examples below):
@@ -32,7 +32,7 @@ using these options (also see examples below):
3232
Instead, it would set an output value for `run_next` to `true` or `false`
3333
to be used by downstream jobs.
3434

35-
#### Examples
35+
## Examples
3636

3737
Here are some simple examples to use this action in your workflows.
3838

@@ -53,7 +53,7 @@ jobs:
5353
runs-on: ubuntu-latest
5454
steps:
5555
- name: Fail means CI is skipped on purpose
56-
uses: pllim/action-skip-ci@main
56+
uses: OpenAstronomy/action-skip-ci@main
5757
with:
5858
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5959
@@ -87,7 +87,7 @@ jobs:
8787
run_next: ${{ steps.skip_ci_step.outputs.run_next }}
8888
steps:
8989
- name: Set output to skip CI
90-
uses: pllim/action-skip-ci@main
90+
uses: OpenAstronomy/action-skip-ci@main
9191
id: skip_ci_step
9292
with:
9393
NO_FAIL: true
@@ -102,9 +102,24 @@ jobs:
102102
...
103103
```
104104

105-
#### Why does this action not cancel workflow instead of failing?
105+
## Why does this action not cancel workflow instead of failing?
106106

107107
This is because cancelling the workflow does not work when the command
108108
is issued from a pull request opened from a fork due to lack of
109109
write access from the fork's GitHub token. The cancellation does not
110110
fail but nothing gets cancelled anyway.
111+
112+
## For developers
113+
114+
To install/update dependencies:
115+
116+
npm install
117+
118+
To build:
119+
120+
npm run build
121+
122+
To run it locally (might require tinkering with `src/main.ts` to mock
123+
the GitHub events):
124+
125+
node dist/index.js

0 commit comments

Comments
 (0)