Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supportability enabled/disabled metrics #2286

Merged
merged 502 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
502 commits
Select commit Hold shift + click to select a range
7f9bd75
Update CHANGELOG.md
fallwith Aug 29, 2023
60715e5
Update CHANGELOG.md
fallwith Aug 29, 2023
fa500e4
CHANGELOG: Sidekiq args filtration examples
fallwith Aug 29, 2023
ea08703
Sidekiq args filtering: default source changes
fallwith Aug 29, 2023
429d03d
remove junk files
fallwith Aug 29, 2023
1df9227
Describe Rails subscriber implementation
hannahramadan Aug 29, 2023
2fa3e66
use a dedicated AttributePreFiltering class
fallwith Aug 30, 2023
dfb892b
segment callback documentation / disclaimer
fallwith Aug 30, 2023
941f6f1
Update CHANGELOG.md
fallwith Aug 30, 2023
8c8d970
Update lib/new_relic/agent/configuration/default_source.rb
fallwith Aug 30, 2023
a749434
Update lib/new_relic/agent/configuration/default_source.rb
fallwith Aug 30, 2023
6ee4d4b
Initial commit
hannahramadan Aug 30, 2023
5fc164d
attribute pre-filtering test fix
fallwith Aug 30, 2023
135282a
Remove dynamic naming from config
hannahramadan Aug 30, 2023
9c89980
Increase error log severity
hannahramadan Aug 30, 2023
d577fdd
Refactors
hannahramadan Aug 30, 2023
40790eb
segment callbacks: fix supportability metrics
fallwith Aug 30, 2023
c388203
Merge pull request #2177 from newrelic/sidekiq_args_filtration
fallwith Aug 30, 2023
9139fbb
Merge branch 'dev' into stripe_instrumentation
hannahramadan Aug 30, 2023
5c46139
Update elasticsearch port_path_or_id value
kaylareopelle Aug 31, 2023
bf36fb4
Add ability to report on user_data
hannahramadan Sep 1, 2023
7cfdd48
Update config
hannahramadan Sep 1, 2023
575ccf5
CI: Sidekiq multiverse - remove old dependencies
fallwith Sep 1, 2023
b561da3
CI: address Sidekiq CLI issues
fallwith Sep 1, 2023
80b9032
CI: Sidekiq test helpers - config only Sidekiq v7
fallwith Sep 1, 2023
8cd8f19
Update default source and add rescue
hannahramadan Sep 1, 2023
82a100c
CI: GHA Sidekiq test fixes
fallwith Sep 1, 2023
89b9db0
Remove rescue
hannahramadan Sep 1, 2023
d704ed4
Merge pull request #2183 from newrelic/no_need_for_sidekicks
fallwith Sep 1, 2023
c959f40
Sidekiq: update deprecation warning, CI testing
fallwith Sep 1, 2023
6747d35
Merge pull request #2184 from newrelic/psykiq
fallwith Sep 2, 2023
8b01b16
CI: external request test: use FR's syntax
fallwith Sep 5, 2023
cc4fe40
Merge pull request #2178 from newrelic/segment_callbacks
fallwith Sep 5, 2023
5214c73
Test: initial commit
hannahramadan Sep 5, 2023
6c8a535
Reference issue in comment
hannahramadan Sep 5, 2023
621c725
Full link
hannahramadan Sep 5, 2023
74fcfe7
Merge pull request #2179 from newrelic/rails_subscriber_documentation
hannahramadan Sep 5, 2023
900e9ba
Add kford-newrelic to label_community_cards
kaylareopelle Sep 6, 2023
8afbd92
Merge pull request #2186 from newrelic/add-kevyn-to-community-card-ci
kaylareopelle Sep 6, 2023
89119f5
supportability metrics for gem method invocation
fallwith Sep 6, 2023
3e0b3a4
Update verison support and config checks
hannahramadan Sep 7, 2023
b869a0c
new test commits
hannahramadan Sep 7, 2023
41b554b
Logger: hardcode the instrumentation name
fallwith Sep 7, 2023
891db18
is_execution_traced? test
hannahramadan Sep 7, 2023
570aced
"invoked" metrics tweaks
fallwith Sep 7, 2023
6128868
Test updates
hannahramadan Sep 7, 2023
58072b4
Remove variable assignment
hannahramadan Sep 7, 2023
0926e83
Remove comment
hannahramadan Sep 7, 2023
c59f04c
PR feedback
hannahramadan Sep 8, 2023
63014dd
Testing feedback updates
hannahramadan Sep 8, 2023
c997c51
Gem version assert
hannahramadan Sep 8, 2023
e4bdf3d
CHANGELOG
hannahramadan Sep 8, 2023
fda4104
Stripe: exclude list works on user data values
fallwith Sep 8, 2023
2a2a164
Merge pull request #2192 from newrelic/black_with_white
hannahramadan Sep 8, 2023
180fde6
gRPC: standardize on supportability metric names
fallwith Sep 8, 2023
c817989
Update CHANGELOG.md
hannahramadan Sep 8, 2023
942607b
Merge pull request #2180 from newrelic/stripe_instrumentation
hannahramadan Sep 8, 2023
efb6eb1
Merge pull request #2189 from newrelic/you_rang❓
fallwith Sep 8, 2023
f8723d7
add snakeize method
tannalynn Sep 11, 2023
e32fc65
add new synthetics to txn/error events
tannalynn Sep 11, 2023
d7d774c
get new synthetics header
tannalynn Sep 11, 2023
6c0c99e
insert new synthetics header
tannalynn Sep 11, 2023
b045b19
handle new synthetics header info
tannalynn Sep 11, 2023
ac3d55b
Merge branch 'dev' into elasticsearch-port
kaylareopelle Sep 11, 2023
55a092a
Add changelog entry and update spacing
kaylareopelle Sep 11, 2023
0cfb5a4
Merge pull request #2182 from newrelic/elasticsearch-port
kaylareopelle Sep 11, 2023
8322c53
bump version
newrelic-ruby-agent-bot Sep 11, 2023
d834113
Merge pull request #2201 from newrelic/prerelease_updates_9.5.0-pre
fallwith Sep 11, 2023
c14a5a8
Update title for config docs PR
kaylareopelle Sep 12, 2023
88f6288
Merge pull request #2207 from newrelic/config-docs-pr-title
kaylareopelle Sep 12, 2023
7d15cee
remove puts
tannalynn Sep 12, 2023
8fa357f
added tests
tannalynn Sep 12, 2023
dec8fce
update transaction and error event tests
tannalynn Sep 12, 2023
102ae0c
rubocop
tannalynn Sep 12, 2023
8698aa8
CI: perf tests - bundler, git ignore logs
fallwith Sep 13, 2023
d995111
Merge pull request #2210 from newrelic/perforated
fallwith Sep 13, 2023
011417e
add more tests, fix typo
tannalynn Sep 14, 2023
68cdb9b
perf tests: fix arg passing
fallwith Sep 15, 2023
34ab0fd
Rescued segment callbacks, nil net_http segments
fallwith Sep 15, 2023
72b5d2b
rubocop: remove leftover code
fallwith Sep 15, 2023
6f6054c
Merge pull request #2218 from newrelic/callback_fallback
fallwith Sep 15, 2023
6bb218f
CI: Ruby 3.3.0-preview1 -> preview2
fallwith Sep 16, 2023
ad0165b
Merge pull request #2217 from newrelic/price_value_selection_nobody_e…
fallwith Sep 19, 2023
a5da5f5
Ruby 3.3+ fix for .gemspec test
fallwith Sep 19, 2023
bf5bfc9
CI: more eval/__FILE__ fixes for 3.3.0-preview2
fallwith Sep 19, 2023
2a86256
Merge pull request #2224 from newrelic/ruby330preview2
fallwith Sep 19, 2023
436f5d2
add test for snakeize
tannalynn Sep 19, 2023
3d350aa
Support cgroups v1 and v2 for Docker containers
fallwith Sep 21, 2023
6ec042d
CHANGELOG: PR 2026
fallwith Sep 21, 2023
eec7037
CHANGELOG: reference PR, not Issue
fallwith Sep 21, 2023
fcb55e0
Update CHANGELOG.md
fallwith Sep 21, 2023
c714f98
Merge pull request #2229 from newrelic/📦🐋
fallwith Sep 21, 2023
ca3afed
CI: Resume testing Rack w/latest Puma
fallwith Sep 21, 2023
22ed8bb
Merge pull request #2230 from newrelic/pyoo-muh
fallwith Sep 21, 2023
f81c98e
CI: Ruby v3.3.0+ requires Puma v6.4.0+
fallwith Sep 21, 2023
bbf283d
CI: use arrays for Puma versions
fallwith Sep 21, 2023
698c839
Merge pull request #2232 from newrelic/poomah
fallwith Sep 21, 2023
705bcd9
remove unneeded freeze
tannalynn Sep 21, 2023
ba9ad3f
add test for load json
tannalynn Sep 21, 2023
1393412
CI: test retry_stopped.active_job
fallwith Sep 22, 2023
99d2734
removed accidental character
tannalynn Sep 22, 2023
b508b37
Merge pull request #2234 from newrelic/take_a_break_you_must_be_tired…
fallwith Sep 22, 2023
7a4e7ce
CI: fix flapping Sidekiq test
fallwith Sep 25, 2023
1a30b8c
Merge pull request #2236 from newrelic/kim_jones_reviews_asteroid_city
fallwith Sep 26, 2023
0d347d1
Merge branch 'dev' into add_synthetics_info_header
tannalynn Sep 26, 2023
2183f89
add changelog entry
tannalynn Sep 26, 2023
15c7685
Update CHANGELOG.md
tannalynn Sep 26, 2023
10846a6
Merge pull request #2203 from newrelic/add_synthetics_info_header
tannalynn Sep 26, 2023
269d071
Declare Base64 as a dependency
fallwith Sep 27, 2023
3ad13f6
initial commit
hannahramadan Sep 28, 2023
07ceef1
Disable autostart for non 'server' Rails commands
fallwith Sep 29, 2023
99d8be2
CHANGELOG: entry for PR 2239
fallwith Sep 29, 2023
c6dae08
Autostart denylist: permit 'test' and Rake commands
fallwith Sep 29, 2023
d6f2a6a
Update CHANGELOG.md
fallwith Sep 29, 2023
d66a3a9
Update CHANGELOG.md
fallwith Sep 29, 2023
356ab6a
Update CHANGELOG.md
fallwith Sep 29, 2023
806b0a9
Merge pull request #2239 from newrelic/ignore_non_server_rails_commands
fallwith Sep 29, 2023
87f77b4
Merge branch 'dev' into roda_newrelic_ignore
hannahramadan Oct 3, 2023
01b6c38
Merge branch 'dev' into declare_base64_dependency
fallwith Oct 4, 2023
d5b05f0
CHANGELOG entry for declaring base64
fallwith Oct 4, 2023
10581f7
Merge pull request #2238 from newrelic/declare_base64_dependency
fallwith Oct 4, 2023
f8749e1
CI: permit tests to be specified by line number
fallwith Oct 5, 2023
9cb982b
Merge pull request #2242 from newrelic/run_tests_by_line_number
kaylareopelle Oct 6, 2023
257aeb3
Skip Rails 7.1 ActiveSupportLogger instrumentation
kaylareopelle Oct 9, 2023
4c4cfd0
Merge pull request #2246 from newrelic/skip-active-support-logger-ins…
kaylareopelle Oct 9, 2023
824ef52
Rails v7.1 driven 'rails' suite updates
fallwith Oct 10, 2023
ff1d4db
rails suite Rails v7.1 hacks
fallwith Oct 10, 2023
f68ddb7
rails before_suite.rb - remove Hash hack
fallwith Oct 10, 2023
2ef4bd2
rails suite: test with Edge
fallwith Oct 10, 2023
49cbf98
#2154, replace "start up" to "start-up"
chahmedejaz Oct 10, 2023
16cd80b
#2247, removes unused variable warnings in tests suite
chahmedejaz Oct 10, 2023
d5359d1
Merge pull request #2249 from chahmedejaz/task/2154-refactor-start-up…
kaylareopelle Oct 10, 2023
c7b1f3d
rails_test.rb: new instance var location
fallwith Oct 10, 2023
ef2f6b9
CI: reorder Rails suite library load order
fallwith Oct 10, 2023
8ef091f
Merge pull request #2250 from chahmedejaz/task/2247-remove-tests-unus…
kaylareopelle Oct 10, 2023
0587815
Create async http instrumentation files
tannalynn Oct 10, 2023
11fecc3
ar_pg tests: use `ids` for v7.1+
fallwith Oct 10, 2023
5814af3
ar_pg: test Edge, don't test plucky
fallwith Oct 10, 2023
7ca493f
Control Rails framework: better constant names
fallwith Oct 10, 2023
af2f4d5
CI: do not test Rails Edge for CI workflows
fallwith Oct 11, 2023
7b66163
Envfile Rails Edge helper: typo fix
fallwith Oct 11, 2023
a63e5cc
prepend_rails_edge -> unshift_rails_edge
fallwith Oct 11, 2023
6e1390c
Merge pull request #2248 from newrelic/pumpkin_spiced_rails_tests
fallwith Oct 11, 2023
37e3044
add http wrapper for async http
tannalynn Oct 11, 2023
2219100
instrument call method
tannalynn Oct 11, 2023
bd8a857
Update handling Rails broadcasted loggers
kaylareopelle Oct 10, 2023
2f398fd
Add unshift_rails_edge to broadcast Envfile
kaylareopelle Oct 11, 2023
0f9ebe3
Use require_relative instead of require
kaylareopelle Oct 12, 2023
9a5094e
Remove one CHANGELOG paragraph
kaylareopelle Oct 12, 2023
fddc57d
#2153, add slash and root constants
chahmedejaz Oct 12, 2023
2b2e439
#2153, replace SLASH and ROOT constants respectively
chahmedejaz Oct 12, 2023
4c23625
Merge pull request #2256 from chahmedejaz/task/2153-add-slash-constant
fallwith Oct 12, 2023
67565e8
Merge pull request #2252 from newrelic/fix-active-support-logger-inst…
kaylareopelle Oct 13, 2023
0eb7e31
Ethon instrumentation
fallwith Oct 14, 2023
e361374
Ethon config option
fallwith Oct 14, 2023
7ee32db
CI: add 'ethon' to http clients 2 list
fallwith Oct 14, 2023
ba66c2e
Ethon: permit 2 more tests to run
fallwith Oct 14, 2023
b2e1325
Fix deprecation warning from sidekiq error handler
fukayatsu Oct 16, 2023
10ab87b
Ethon: improved headers and errors handling
fallwith Oct 16, 2023
d206294
Removed the direct inclusion of Pry and make it conditional
AlajeBash Oct 17, 2023
c7343ae
Ethon instrumentation updates
fallwith Oct 17, 2023
df37071
Ethon: handle response headers properly
fallwith Oct 17, 2023
0f6cb1a
Merge pull request #2261 from fukayatsu/fix-sidekiq-deprecation-warning
kaylareopelle Oct 17, 2023
115b088
Add support for newrelic_ignore*
hannahramadan Oct 17, 2023
c54cf72
newrelic_ignore* tests
hannahramadan Oct 17, 2023
354981c
Changelog edits
kaylareopelle Oct 17, 2023
b9db71f
Merge pull request #2268 from newrelic/upcoming-changelog-edits
kaylareopelle Oct 17, 2023
303da23
Merge branch 'dev' into roda_newrelic_ignore
hannahramadan Oct 17, 2023
39138b5
Add CHANGELOG
hannahramadan Oct 17, 2023
76915eb
http test cases working for async
tannalynn Oct 17, 2023
db3dc7c
Update lib/new_relic/agent/instrumentation/roda/ignorer.rb
hannahramadan Oct 17, 2023
0a4c140
Make private test methods private
hannahramadan Oct 17, 2023
5806932
Ruby style cleanup
hannahramadan Oct 17, 2023
3b755c1
Move private methods to classes
hannahramadan Oct 17, 2023
10e75d1
Merge pull request #2267 from newrelic/roda_newrelic_ignore
hannahramadan Oct 17, 2023
d81f14c
instrumentation for Ethon::Multi
fallwith Oct 18, 2023
dc87b1a
Merge branch 'dev' into ethon
fallwith Oct 18, 2023
4194e08
CHANGELOG entry for Ethon
fallwith Oct 18, 2023
8ce82aa
Typhoeus + Ethon fixups
fallwith Oct 18, 2023
cd6d3c3
Merge branch 'newrelic:dev' into dev
AlajeBash Oct 18, 2023
281dc52
Rails fixes
fallwith Oct 18, 2023
1fb87bf
Offenses Fixed
AlajeBash Oct 18, 2023
d24d89a
ensure headers work if hash, array or
tannalynn Oct 18, 2023
740bd51
Merge branch 'dev' into add_async_http_instrumentation
tannalynn Oct 18, 2023
8d0b0cb
delete comments
tannalynn Oct 18, 2023
ca6da27
add changelog entry
tannalynn Oct 18, 2023
7eeee3f
Ethon: focus on return_code for errors
fallwith Oct 18, 2023
30dc1fe
Ethon instrumentation: default action, naming
fallwith Oct 18, 2023
55b25da
Ethon: test request wrapper host determination
fallwith Oct 19, 2023
b2481d0
Merge pull request #2274 from newrelic/ethon_with_typhoeus
fallwith Oct 19, 2023
d947972
Merge pull request #2271 from newrelic/rpm___used_to_sprinkle_it_on_m…
fallwith Oct 19, 2023
0b3edb6
remove rescue from test
tannalynn Oct 19, 2023
00f0fce
Update newrelic.yml
tannalynn Oct 19, 2023
33333f6
Update lib/new_relic/agent/http_clients/async_http_wrappers.rb
tannalynn Oct 19, 2023
6be1dc1
Update lib/new_relic/agent/instrumentation/async_http.rb
tannalynn Oct 19, 2023
fef6ba7
move require
tannalynn Oct 19, 2023
6717a9f
Merge branch 'add_async_http_instrumentation' of github.com:newrelic/…
tannalynn Oct 19, 2023
1906c10
Update test/multiverse/suites/async_http/Envfile
tannalynn Oct 19, 2023
f148bfd
add begin fro ruby 2.4
tannalynn Oct 19, 2023
bad57ad
add to http client multiverse group
tannalynn Oct 19, 2023
3285c5b
min version supported 0.59.0
tannalynn Oct 19, 2023
e911c78
min ruby version 2.5
tannalynn Oct 19, 2023
3e01804
Update test/multiverse/suites/active_record_pg/active_record_test.rb
AlajeBash Oct 19, 2023
d246c21
Subscribe to send_stream
hannahramadan Sep 25, 2023
bbf0a2f
Ethon: disable when Typhoues is present
fallwith Oct 19, 2023
ba0f9c5
Merge pull request #2269 from newrelic/send_stream_subscriber
hannahramadan Oct 19, 2023
914302d
Test cases: stop special casing Typhoeus + Ethon
fallwith Oct 20, 2023
57c81fe
Update lib/new_relic/agent/instrumentation/async_http.rb
tannalynn Oct 20, 2023
aab41ab
Merge pull request #2272 from newrelic/add_async_http_instrumentation
tannalynn Oct 20, 2023
40b5fd2
Merge branch 'dev' into ethon
fallwith Oct 20, 2023
18fa11d
add instrumentation for HTTPX
fallwith Oct 20, 2023
16ac00b
ethon -> httpx
fallwith Oct 20, 2023
ec8fb9b
httpx requires Ruby 2.7+
fallwith Oct 20, 2023
285de8a
Ethon: PR feedback
fallwith Oct 20, 2023
ee243b9
address HTTPX PR feedback
fallwith Oct 20, 2023
0b486ca
Merge pull request #2260 from newrelic/ethon
fallwith Oct 20, 2023
4d1ce24
Merge branch 'dev' into httpx
fallwith Oct 20, 2023
4f2ffa3
Merge pull request #2278 from newrelic/httpx
kaylareopelle Oct 20, 2023
8112b73
Update grape Envfile to handle activesupport 7.1
kaylareopelle Oct 20, 2023
25bc36b
Merge pull request #2280 from newrelic/pause-grape-tests
kaylareopelle Oct 21, 2023
1a11341
URLs test: ignore 2 new false positives
fallwith Oct 21, 2023
e439035
URL tests: re-enable skips
fallwith Oct 21, 2023
df433d1
Update test/multiverse/lib/multiverse/suite.rb
AlajeBash Oct 21, 2023
f5cc2fd
Merge pull request #2273 from AlajeBash/patch-1
kaylareopelle Oct 23, 2023
5c760f2
Merge pull request #2281 from newrelic/your_hat_says_M_so_you_are_M_b…
fallwith Oct 23, 2023
d4bca61
add additional attributes for OTel compatibility
fallwith Oct 23, 2023
44234cb
CHANGELOG ' -> ` typo fix
fallwith Oct 23, 2023
62bcaec
update span event primitive tests for PR 2284
fallwith Oct 23, 2023
0689d4c
O Tel -> OTel
fallwith Oct 24, 2023
32887a0
docker container id: ensure sha256 format
fallwith Oct 24, 2023
594b231
Merge pull request #2284 from newrelic/additional_attributes
fallwith Oct 24, 2023
4a30b54
Merge pull request #2285 from newrelic/docker_container_id_cgroups_v2…
fallwith Oct 24, 2023
d9d66b1
Add supportability enabed/disabled metric
hannahramadan Oct 24, 2023
944d421
Remove scratch work
hannahramadan Oct 24, 2023
5546674
2 supportability metrics
hannahramadan Oct 24, 2023
a7c2c0e
bump version
newrelic-ruby-agent-bot Oct 24, 2023
92f3b0f
Fix test
hannahramadan Oct 24, 2023
62246a5
ActiveRecord subscriber tests: fixes, cleanup
fallwith Oct 24, 2023
ad7406f
AR notifications test: re-enable test
fallwith Oct 24, 2023
244f075
Add community contributions
kaylareopelle Oct 24, 2023
3303ae5
Merge pull request #2287 from newrelic/prerelease_updates_9.6.0-pre
kaylareopelle Oct 24, 2023
6d7b411
Reset supportability metrics
hannahramadan Oct 25, 2023
37081e7
Updated documentation for NewRelic::Agent#add_custom_log_attributes t…
dinsley Oct 25, 2023
da5b18c
Add supportability metrics enabled method
hannahramadan Oct 25, 2023
237fee4
Merge pull request #2292 from dinsley/update-custom-log-attributes-do…
fallwith Oct 26, 2023
6fc3fbd
Merge pull request #2288 from newrelic/relevium_a_machina
fallwith Oct 26, 2023
47ef119
Merge branch 'dev' into supportability_metrics
hannahramadan Oct 26, 2023
51da1f4
regenerate rubocop todo
hannahramadan Oct 26, 2023
c311176
regenerate todo
hannahramadan Oct 26, 2023
ec33d21
appease rubocop once more
hannahramadan Oct 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 26 additions & 0 deletions .build_ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
.github/
.gitignore
.project
.rubocop.yml
.rubocop_todo.yml
.simplecov
.snyk
.yardopts
Brewfile
CONTRIBUTING.md
Dockerfile
DOCKER.md
docker-compose.yml
config/
config.dot
infinite_tracing/
Guardfile
lefthook.yml
log/
README.md
test/
lib/tasks/bump_version.rb
lib/tasks/coverage_report.rb
lib/tasks/multiverse.rake
lib/tasks/multiverse.rb
lib/tasks/tests.rb
2 changes: 1 addition & 1 deletion .github/actions/annotate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ A pre-commit hook is provided that can help keep dist/index.js in tune with loca
# Using Node as a REPL

If you're developing or working on the index.js script, it can be handy to try out stuff
locally. To do that, use Node to start up a REPL shell by running it from the action's folder:
locally. To do that, use Node to start-up a REPL shell by running it from the action's folder:

```
cd .github/workflow/actions/annotate
Expand Down
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
Loading