Commit Graph

44 Commits (159626c1276fb6f9970e64e06aefe6602204da28)

Author SHA1 Message Date
Sebastiaan Speck 4ea80ce3b3
check-pr: fix GitHub Action to gather the diff (#11425) 2023-11-11 19:35:12 +01:00
Sebastiaan Speck c2a18714a5
CI/codespell: ignore non-English pages (#11430) 2023-11-10 09:08:54 +05:30
dependabot[bot] 5cbe821c8d
build(deps): bump tj-actions/changed-files from 39.0.0 to 40.0.2 (#11352)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 39.0.0 to 40.0.2.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v39.0.0...v40.0.2)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 14:53:56 +05:30
dependabot[bot] f5cb482a3e
build(deps): bump actions/setup-node from 3 to 4 (#11353)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01 14:53:38 +05:30
K.B.Dharun Krishna e35b482300
scripts: build and deploy PDF pages for translations (#10969)
* scripts: build and deploy PDF pages for translations

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* render.py: fix typo in filename description

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-10-22 02:34:22 +05:30
K.B.Dharun Krishna 1c00ae865a
CI/codespell: revert changed-files action removal (#11022)
* CI/codespell: revert changed-files action removal

This reverts commit eca9c1e539 from #10704.

Post this change codespell doesn't show annotations for the PR contents
as it now scanning the whole pages directory and completes execution
after showing a limited number of strings. This effectively made
Codespell unusable. Therefore I have reverted the change to fix
Codespell, the only issue being this would reintroduce the false
detection with annotations being
made in translation PRs on non-English pages.

* CI/codespell: use point release instead of master

Using the development branch isn't ideal for production as it is prone to breakage with a faulty bug or PR. So in this commit, I am updating the codespell action to use the point release instead for more stability and versatility.

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-10-19 21:29:55 +05:30
K.B.Dharun Krishna b333d3d3a5
Revert "scripts: build and deploy PDF pages for translations (#10846)" (#10965)
This reverts commit a2ab577848.
2023-10-13 11:00:58 +05:30
K.B.Dharun Krishna a2ab577848
scripts: build and deploy PDF pages for translations (#10846)
* scrips: build and deploy PDF pages for all languages

* cleanup/render.py: reformat code

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* Apply suggestions from code review

Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>

* scrpts/pdf: update README, refactor code

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: building PDF was wildcard

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: building translations as wildcard 2

* test/ci: fix flag in PDF building

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: update build pdf action

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: extend PDF exclusion list

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup/ci: update PDF translation build

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* scripts/pdf: add website and repo link

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: move PDF build to seperate script file

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* test/ci: minor fixes to build pdf script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup/ci: update build PDF

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* scripts: update font family, minor fix

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* fix/deploy: sha256sum command

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
2023-10-13 09:58:02 +05:30
K.B.Dharun Krishna eca9c1e539
CI/codespell: remove changed-files action, use point release of action (#10707)
* CI/codespell: remove changed-files action

Superseeds #10704

This change would make the CI run only on English pages by directly passing the path to Codespell to prevent false detections like https://github.com/tldr-pages/tldr/pull/10702/files for other languages, There still would be annotations made for other English pages not in PR similar to now, but it won't prevent us from merging the PR as we have the only_warn parameter set to 1.

* CI/codespell: use point release instead of master

Using the development branch isn't ideal for production as it is prone to breakage with a faulty bug or PR. So in this commit, I am updating the codespell action to use the point release instead for more stability and versatility.
2023-09-12 21:28:12 +05:30
K.B.Dharun Krishna 7ee3ed4466
CI: bump actions/checkout to v4 (#10669) 2023-09-05 16:29:38 +02:00
dependabot[bot] 8a3d9e2acb
build(deps): bump tj-actions/changed-files from 37.5.1 to 39.0.0 (#10672)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.5.1 to 39.0.0.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v37.5.1...v39.0.0)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 15:34:23 +05:30
dependabot[bot] 8d2412fe79
build(deps): bump tj-actions/changed-files from 37.0.5 to 37.5.1 (#10560)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 37.0.5 to 37.5.1.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v37.0.5...v37.5.1)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-01 12:46:57 +05:30
dependabot[bot] 129171dd41
build(deps): bump tj-actions/changed-files from 36.0.11 to 37.0.5 (#10444)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36.0.11 to 37.0.5.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v36.0.11...v37.0.5)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 08:49:37 +05:30
K.B.Dharun Krishna 317bc67a3f
CI: remove stale workflow (#10409) 2023-06-30 11:49:56 +05:30
K.B.Dharun Krishna cf8cba1fe1
.github: fix trailing spaces and lines (#10378)
* page-request.yml: remove trailing line

* stale.yml: fix trailing space
2023-06-15 01:43:00 +02:00
dependabot[bot] 509e65a52b
build(deps): bump tj-actions/changed-files from 35.7.11 to 36.0.11 (#10308)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 35.7.11 to 36.0.11.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v35.7.11...v36.0.11)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 23:03:01 +05:30
pixel c130414032
workflows/mirror: remove (#10135) 2023-05-02 11:26:48 +02:00
K.B.Dharun Krishna d669a72bc8
stale.yml: bump actions/stale version to v8 (#10014) 2023-04-10 22:16:32 +05:30
K.B.Dharun Krishna 261040d3c8
codespell.yml: bump tj-actions/changed-files version to latest (#10015) 2023-04-10 22:16:20 +05:30
Seth Falco b0e9368d0f
ci: fix formatting and ignore package-lock.json (#9429)
Signed-off-by: Seth Falco <seth@falco.fun>

Signed-off-by: Seth Falco <seth@falco.fun>
2022-10-30 10:50:00 +00:00
Anton Yakutovich cf2f75591f
ci.yml: refactor workflow (#8927) 2022-10-12 07:17:21 -03:00
Oscar Dominguez f153e318de
stale.yml: upgrade actions/stale to v6 (#8615) 2022-10-02 11:33:07 -03:00
Oscar Dominguez 4f430f0642
ci: upgrade actions/setup-python to v4 (#8614) 2022-10-02 10:53:28 +05:30
Alex 0fbe2488eb
workflows/*: add security hardening (#8518) 2022-09-28 14:17:33 -03:00
CleanMachine1 8c559d581a
codespell.yml: add workflow (#8359) 2022-09-18 18:24:26 -03:00
CleanMachine1 1a57ff5df8
stale.yml: Change time for issues to be stale (#8114)
* stale.yml: Change time for issues to be stale

* match the suggestions
2022-06-20 02:53:03 +10:00
Axel Navarro e897720058
ci.yml, stale.yml: update runtime to node16 (#8068)
* stale.yml: update runtime to node16

* ci.yml: update runtime to node16
2022-05-01 17:50:24 +10:00
Axel Navarro 37d7bbe950
labeler.yml: use alias tag v0 (#7472) 2021-11-24 13:09:40 -03:00
Axel Navarro 0659e80101
tooling: add PR labeler (#7460)
Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
2021-11-20 23:02:52 -03:00
Matthew Peveler 3fa29ea1c2
tooling: add black and flake8 for python formatting/linting (#6454) 2021-09-03 12:17:51 -03:00
Waldir Pimenta dd8cfd038a
stale GitHub action: re-wrap long message (#5887)
GitHub's markdown renderer does not wrap single line breaks,
so the message the bot leaves when closing a thread
would have an awkward line break.
This commit re-wraps the message to avoid that.
2021-05-10 21:31:43 +01:00
Owen Voke 6a058b56fe ci: update branch in mirror workflow 2021-05-01 20:10:05 +01:00
Owen Voke d33da35733 ci: update to use 'main' branch 2021-05-01 20:10:05 +01:00
bl-ue 20fdd9bd88
ci: have stalebot ignore issues with the 'stalebot ignore' label (#5372) 2021-03-16 09:19:52 +00:00
Matthew Peveler df5439818b
add commit mirror workflow (#5313)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2021-03-08 19:13:05 +00:00
Owen Voke 1d2b4242c8 ci: generate PDF version of tldr pages 2020-12-04 18:48:24 +00:00
Ein Verne 1491a6cb82
ci: fix issue with `set-env` usage (#4964) 2020-11-18 11:54:26 +00:00
Jamie Magee 34f8c610df
Checkout all branches in GitHub Actions (#4437)
By default actions/checkout@v2 only checks out the latest commit of the current branch. Unfortunately, this causes the `git diff` check in `check-pr.sh` to fail, as `master` branch isn't available`.

This change checks out all commits of all branches, which allows `git diff` to work correctly.

Ideally, I'd like to use the `ref` setting of actions/checkout@v2, but that only supports a single ref so it's not possible to checkout the PR branch _and_ `master` branch at the same time.
2020-10-05 16:23:08 +01:00
Owen Voke ee665051b3
Update to use `actions/stale` instead of Stale Bot (#4143) 2020-07-14 23:28:34 +02:00
Marco Bonelli 4b76ffff45
CI: fix deployment branch check (#4130) 2020-06-27 18:19:22 +02:00
Zlatan Vasović d8e6c7e11f
Quick fix, github.branch -> github.ref 2020-06-26 19:09:47 +02:00
Owen Voke 7e3ca9c540 Resolve deploy key from secrets 2020-06-26 18:55:59 +02:00
Owen Voke 5e958f6074 Update scripts to use PULL_REQUEST_ID 2020-06-26 18:55:59 +02:00
Owen Voke bcab713a65 Add GitHub Actions CI workflow 2020-06-26 18:55:59 +02:00