Commit Graph

12 Commits

Author SHA1 Message Date
Jamie Tanna 135dd45e7e ci: ensure scripts in .github/ are linted (#45593)
As per request in #45462, we can perform a prefactor to ensure that our
scripts for CI-related functionality are part of `tools`, so they're
linted appropriately.

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>
2026-09-01 14:35:23 +00:00
renovate[bot] db7993707a chore(deps): update actions/checkout action to v7 (main) (#45105)
chore(deps): update actions/checkout action to v7

| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v6.1.0 | v7.0.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-06 08:04:23 +00:00
renovate[bot] e3541c1466 chore(deps): update actions/checkout action to v6.1.0 (main) (#44741)
chore(deps): update actions/checkout action to v6.1.0

| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v6.0.3 | v6.1.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-07-20 16:47:58 +00:00
Jamie Tanna 90f20a770d ci(close-answered): use .cjs for script (#44087)
* ci(close-answered: use `.cjs` for script

Since ~2026-01-29, this job has been failing, as:

  Unhandled error: ReferenceError: module is not defined in ES module scope

We can work around this by using a `.cjs` file.

* lint(close-answered): address linting

As there were some findings that weren't previously picked up on, due to
the `.js` suffix.
2026-06-18 21:52:48 +00:00
renovate[bot] a859205bc3 chore(deps): update actions/checkout action to v6.0.3 (main) (#43744)
chore(deps): update actions/checkout action to v6.0.3

| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v6.0.2 | v6.0.3 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-03 09:33:41 +00:00
Jamie Tanna 7ac8c5415d ci: don't persist credentials after checkout (#43748)
Via Zizmor.

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-06-03 09:12:47 +00:00
renovate[bot] 1fac64bfa0 chore(deps): update actions/github-script action to v9 (main) (#42613)
chore(deps): update actions/github-script action to v9

| datasource  | package               | from   | to     |
| ----------- | --------------------- | ------ | ------ |
| github-tags | actions/github-script | v8.0.0 | v9.0.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-14 10:04:04 +00:00
renovate[bot] c812b7256d chore(deps): update actions/checkout action to v6.0.2 (main) (#40614)
chore(deps): update actions/checkout action to v6.0.2

| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v6.0.1 | v6.0.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-22 17:28:45 +00:00
renovate[bot] 783368596b chore(deps): update actions/checkout action to v6.0.1 (main) (#39712)
chore(deps): update actions/checkout action to v6.0.1

| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v6.0.0 | v6.0.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-12-02 17:33:38 +00:00
renovate[bot] f2c266883a chore(deps): update actions/checkout action to v6 (main) (#39502)
chore(deps): update actions/checkout action to v6

| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v5.0.1 | v6.0.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-24 11:28:57 +00:00
renovate[bot] 2233fe155d chore(deps): update actions/checkout action to v5.0.1 (main) (#39359)
chore(deps): update actions/checkout action to v5.0.1

| datasource  | package          | from   | to     |
| ----------- | ---------------- | ------ | ------ |
| github-tags | actions/checkout | v5.0.0 | v5.0.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-17 20:38:19 +00:00
Jamie Tanna df302e68a4 ci: auto-lock discussions and auto-close after 30 days (#39311)
As noted in #39212, it would be useful to prevent "bumping" of old
Discussions.

Because `lock-threads` does not have the ability to perform the closing
itself[0], we can write a small `github-script` compatible script.

This will loop through all answered but open Discussions, and close them
(if it's been 30 days since they were answered).

We also make sure that `lock-threads` will then lock the Discussions
once they're closed.

Closes #39212.

[0]: https://github.com/dessant/lock-threads/issues/45

Co-authored-by: gpt-4.1 <jamie.tanna+github-copilot@mend.io>
2025-11-17 17:19:48 +00:00