Skip to content

Commit

Permalink
Merge pull request #2107 from newrelic/issue_farther
Browse files Browse the repository at this point in the history
  • Loading branch information
fallwith authored Jun 23, 2023
2 parents 820de14 + 47e109b commit 4b4fded
Show file tree
Hide file tree
Showing 7 changed files with 10,803 additions and 13 deletions.
30 changes: 30 additions & 0 deletions .github/actions/issue_closer/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"indent": [
"error",
2
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}
12 changes: 12 additions & 0 deletions .github/actions/issue_closer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
```
## Contributing
- Clone the repo containing the action
- Make sure you have Node.js (the action was originally tested with version 18 LTS) and Yarn installed
- In the directory containing this `README.md` file and the `package.json` file, run `yarn install`
- Make your desired changes to `index.js`
- note: ignore `dist/index.js`, as it is only intended for use by GitHub Actions
- Test your changes with `node index.js` and/or `yarn run test`
- Lint your changes with `yarn run lint`
- Regenerate the distribution file `dist/index.js` by running `yarn run package`
- Submit a PR with your changes
2 changes: 1 addition & 1 deletion .github/actions/issue_closer/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ inputs:
required: true
runs:
using: 'node16'
main: 'index.js'
main: 'dist/index.js'
Loading

0 comments on commit 4b4fded

Please sign in to comment.