Commit Graph

15 Commits

Author SHA1 Message Date
jrfnl 5a8c04a9d6
GH Actions: use semver branch/tag references instead of commit references
Most predefined action runners offer a long-running branch or a tag which gets moved every release to allow staying on the "latest" version of a certain major of their action, without having to update the workflow scripts on every release of the action runner.

This works well for action runners which follow semver.

I've reviewed the existing workflows and tweaked the versions used whenever possible to make optimal use of this.

* For the `ossf/scorecard-action` action runner, I have not been able to find a workable tag/branch to fix this on.
    Note: I have remove the "# v1.1.1" comment though as it doesn't get updated by Dependabot and was sorely out of date (you are currently on version `2.0.4`).

With the changes in this PR, Dependabot should become less noisy and will only send in PRs to update the action runner versions when a new major release has been tagged. (save for the one exceptions mentioned above)

I would recommend watching the following repos for new releases:
* https://github.com/actions/checkout
* https://github.com/actions/upload-artifact
* https://github.com/shivammathur/setup-php
* https://github.com/ramsey/composer-install
* https://github.com/nick-fields/retry
* https://github.com/codecov/codecov-action
* https://github.com/JamesIves/github-pages-deploy-action
* https://github.com/ossf/scorecard-action
* https://github.com/github/codeql-action

This will ensure you will get an email with the changelogs for those action runners on all releases, so you can still monitor for changes in the action runners you need to be aware of.
2022-10-10 19:23:47 +02:00
Alex a09a739fd1 build: harden docs.yaml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 16:09:01 +02:00
dependabot[bot] 5d4233bb1b
GH Actions: Bump JamesIves/github-pages-deploy-action
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.4...v4.4.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-25 06:21:06 +00:00
dependabot[bot] bad18bda11
GH Actions: Bump JamesIves/github-pages-deploy-action
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases)
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/v4.3.3...v4.3.4)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-27 06:20:15 +00:00
Marcus Bointon 2aa2bd20db
Try alternative docs publishing action 2022-06-14 11:14:49 +02:00
dependabot[bot] 8ab58f1d16
GH Actions: Bump maxheld83/ghpages from 0.2.1 to 0.3.0
Bumps [maxheld83/ghpages](https://github.com/maxheld83/ghpages) from 0.2.1 to 0.3.0.
- [Release notes](https://github.com/maxheld83/ghpages/releases)
- [Commits](https://github.com/maxheld83/ghpages/compare/v0.2.1...v0.3.0)

---
updated-dependencies:
- dependency-name: maxheld83/ghpages
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 20:19:01 +00:00
jrfnl 21856c00e5
GH Actions: version update for various predefined actions
A number of predefined actions have had major release, which warrant an update the workflow(s).

These updates don't actually contain any changed functionality, they are mostly just a change of the Node version used by the action itself (from Node 14 to Node 16).

Refs:
* https://github.com/actions/checkout/releases
2022-03-05 15:36:07 +01:00
jrfnl fbfc9f2909 GH Actions: version update for `actions/checkout`
Ref: https://github.com/actions/checkout/releases
2021-12-26 00:39:36 +01:00
Juliette 8eacfe7925
GH Actions: don't run the docs workflow on forks (#2371)
The `docs` workflow to deploy the GH Pages website is run on pushes to `master`, but that includes pushes to `master` in forks, which obviously can't deploy to the GH Pages site.

This means that in forks (and there are nearly 9000 of them), this workflow will always fail, while in reality, it shouldn't be run in the first place.

So, I'd like to propose making this small change, which _should_ prevent the `docs` workflow from being run on forks.

Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
2021-06-23 11:00:21 +02:00
freezy f2e2153a13 merge two jobs into one (#1857) 2019-10-03 13:03:58 +02:00
Marcus Bointon 3563788a86
Fix job name 2019-10-02 13:38:00 +02:00
Marcus Bointon d4daffdb55
Try to fix artifact path 2019-10-02 13:37:01 +02:00
Marcus Bointon 3651595a93
Make publishing docs depend on build succeeding 2019-10-02 13:36:05 +02:00
Marcus Bointon 4b93ad523b
Only build docs on push to master 2019-10-02 11:20:04 +02:00
freezy c1fbe8fe50 [Fixes #1847] Building docs with GitHub Actions (#1855)
* Try building docs with GitHub Actions

* fix GH_PAT secret
2019-10-02 11:09:22 +02:00