Orgad Shaneh
7d715132b8
MT#55283 CI: Prevent scheduled actions from running in forks
They are meant for the main repo.
Closes #2031
Change-Id: I65e5ba4c8b98fc2460beceb18c0f8b70192c2efd
3 weeks ago
Michael Prokop
7ad57e1157
MT#61451 GH: raise workflow actions to v4
Artifact actions v3 will be closing down by January 30, 2025, see
https://github.blog/changelog/2024-11-05-notice-of-breaking-changes-for-github-actions/ +
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
Migrate actions/upload-artifact@v3 to actions/upload-artifact@v4
as documented at
https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
NOTE: We need unique artifact names, otherwise we'd try to overwrite
existing artifacts. But in v4 the artifacts are immutable unless
deleted, so it would fail the build. We could also overwrite them via
`overwrite: true`, but it's useful to have artifacts for both bookworm
*and* sid available, so adapt their naming accordingly.
While at it, also bump actions/checkout@v3 to actions/checkout@v4.
Change-Id: I716939764fadd2d812960e220d7a20075bb4a366
1 year ago
Michael Prokop
77809b9059
TT#124273 GitHub actions: upgrade from bullseye to bookworm
bookworm is the current Debian stable release as of 2023-06-10,
so switch from bullseye to bookworm.
Change-Id: I7df785862dd6a1466d426c147dce5877e66ec9d3
2 years ago
Michael Prokop
a66a05e440
TT#124273 GitHub actions: update steps to latest actions
Quoting annotations/deprecation notes from GitHub actions (see e.g.
https://github.com/sipwise/rtpengine/actions/runs/3995067348 ):
| Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/upload-artifact@v2.
| For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ .
Also see https://github.com/actions/upload-artifact +
https://github.com/actions/checkout for our related actions.
Change-Id: Ic2c26a8e617241063a63f02ca073d77a93853bc6
3 years ago
Michael Prokop
16693a4821
TT#124273 GitHub actions: upgrade from buster to bullseye
In commit a4ee01d27f we switched to debhelper compat level 13.
debhelper v13 isn't available in (plain) Debian buster,
and therefore the Debian pipeline for buster fails with:
| The following packages have unmet dependencies:
| builddeps:. : Depends: debhelper-compat (= 13)
Since we updated packaging for bullseye, also adapt the GitHub
actions / workflow accordingly.
Change-Id: I411a6ab16ee48c5c5fc1ca43c58c016df83e1ff7
4 years ago
Michael Prokop
6e77bebb35
TT#82051 Support GitHub actions + workflows using Debian package builds + shellcheck
Change-Id: I51c9587f819a95c1177f4e8678afea71eaaa038b
6 years ago