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
Richard Fuchs
621d86918a
MT#55283 exclude non existent file from shellcheck
Change-Id: I4c17a588320d336375f431ca2aa5b0729cce6058
6 months 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
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
Guillem Jover
c8c5af8aaf
TT#111150 Rename GitHub shellcheck test workflow to shellcheck.yml
Rename the workflow, as this is only in charge of running the shellcheck
tests. Having a workflow per checker also makes them more modular, and
easier to reuse in other projects by simply copying the files around.
And makes it easier to see what checks are currently available from
the filenames.
Rename the job to "test", for correctness, as it has implicit ordering
and meaning within the GitHub action built-in stages.
Change-Id: I3987fc03111d94a8bc64e9103e43cb4d05925e12
5 years ago
Michael Prokop
38a2d3097b
TT#82051 GH workflow: drop utils/build_deps.sh from shellcheck
The file utils/build_deps.sh was removed in commit e580c7c7f8 ,
adjust shellcheck execution accordingly.
Change-Id: Ibe454e98d02e026ef5cade9401e73a04975e6cc3
6 years ago
Michael Prokop
6e77bebb35
TT#82051 Support GitHub actions + workflows using Debian package builds + shellcheck
Change-Id: I51c9587f819a95c1177f4e8678afea71eaaa038b
6 years ago