Commit graph

31 commits

Author SHA1 Message Date
Simon Steinbeiss
80e793cbfd github/actions: Enable /jira-epic slash commands
This change depends on
https://github.com/osbuild/pr-best-practices/pull/8

It means you can use the command both in a standalone comment or
directly in the PR description.
2024-12-10 11:07:06 -06:00
Sanne Raymaekers
c9e5f9630b .github/workflows: run dev checks on main
The codecov comments don't make much sense as there's no reference point
currently.
2024-10-17 20:46:38 +02:00
regexowl
b5eab82318 workflows: Add check for circular dependencies
This adds a check for circular dependencies into dev-check, to make sure we don't introduce new problems in the future.
2024-10-11 14:55:03 +02:00
regexowl
2ddfee409e test: Test with Node 20 only
This updates the test env to test with Node 20 only, pr_check is also updated to use Node 20.

The changes shouldn't affect users in any way, please let me know if you think it might.

There were common async flakes when using testing-library with Node 18, those often surfaced in gh actions / pr_check only and did not reproduce locally unless resources got limited (I can reproduce some flakes in Power Saver mode only, leading me to conclusion, that it's just async being mischievous). Switching to testing with Node 20 only should also allow us to re-enable some tests that got disabled specifically because them running with Node 18 ended up in a time out.
2024-09-03 21:54:47 +02:00
Michal Gold
4801a09a85 codecov: enable codecov in our repo
this commit add the configuration for codecov,
to be able to see the coverage of vitest in codecov website.
2024-09-03 09:56:45 +02:00
regexowl
0f9f3b9af6 dependabot: Decrease open PR limit
The backlog of stuck dependencies is shrinking, meaning we can go back to previous limit of three open dependabot pull requests.
2024-07-19 17:53:22 +02:00
regexowl
15d9474740 workflows: Replace Node 16 with Node 20
With Node 16 being EOL since 09/2023 we could replace it with Node 20 in our development checks.
2024-06-20 10:48:29 +02:00
Jakub Rusz
32b936d4c6 CI: Drop SonarQube and Schutzbot in favor of Snyk (HMS-3696)
Snyk is now being used for code analysis in favor of Sonarqube. This
commit drops Sonarqube. Schutzbot was only neccessary for running
SonarQube, so it has also been dropped.
2024-03-05 08:39:16 +01:00
Simon Steinbeiss
f23f2be54f ghactions: Add PR best practice check 2024-03-01 09:30:48 +01:00
Ondrej Ezr
25144511ad api: split pulling API changes and regenerating new API
For checking wether the api was tempered with, we need separate action,
that just checks the code against the currently pulled spec.

This introduces two subactions for `npx api`.
These are `npx api:generate` and `npx api:pull`.
2024-01-23 12:39:32 +01:00
regexowl
6346cc50e4 workflows: Add check for manual changes to API
This adds a check to ensure that the code generated automatically by `npm run api` has no manual changes.
2023-12-21 18:51:04 +01:00
regexowl
3473d98511 dependabot: Bump open PR limit
This bumps a maximum number of opened dependabot PRs as there are currently three open PRs in need of manual revision. Those are blocking any other bumps from being even opened.

The bump should be temporary.
2023-12-11 15:42:27 +01:00
regexowl
5553766415 workflows: Add a workflow with dev checks
As Travis CI is getting removed from RedHatInsights this should replace it in what we used to use Travis for.

This workflow is triggered on pull requests to main and runs clean install of dependencies, lint check and the unit test suite.

The main motivation of this workflow being separated from the IQE tests is to allow to quickly check if the basic tests pass during development without the need to wait for the IQE tests to finish their run.
2023-11-02 11:28:44 +01:00
Ondřej Ezr
9be2ceaba7 Remove sync branches script
With serving UI assets from containers, there is no need to sync branches anymore.
2023-10-31 10:34:09 +01:00
Tomáš Hozza
226a74ff99 Actions: add workflow for marking and closing stale issues and PRs
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-09-07 12:10:15 +02:00
Jakub Rusz
4ec5c97758 Add Schutzbot and Sonarqube
This adds the ability to use our Schutzbot Gitlab CI and run Sonarqube
scan there. We have pretty much the exact same thing in weldr-client
repo and use it only for Sonarqube. This could also be used in the
future if there is any need to use our own CI.

The added scan is just informative and is by no means supposed to be
used to gate PRs, there will be just one more link to
check the results in case anyone is interested.
2022-09-02 16:09:12 +02:00
Sanne Raymaekers
8c4cc5c472
.github: Rename sync-branches workflow ref check job (#724)
Make the name of the check job more like the name of the sync job.
2022-05-13 09:20:37 +02:00
Sanne Raymaekers
700441da63 .github: Use SCHUTZBOT_GH_TOKEN to push 2022-04-28 12:58:59 +02:00
Sanne Raymaekers
afe4cddf3b .github: Add schutzbot token to gh workflow 2022-04-27 19:48:28 +02:00
Sanne Raymaekers
9b71513462 .github: Sync branches workflow
This workflow syncs the main branch with the stage-stable branch.

It also includes a production target which needs to be dispatched
manually. The production target pushes the input ref to both prod-beta
and prod-stable branches.

This results in the main branch always being deployed on stage-beta and
stage-stable, and the prod-beta and prod-stable branches being synced on
release.
2022-04-27 17:48:43 +02:00
Alexander Todorov
6b951288c7 ci: Extract Coverity Scan tools in /tmp
this will prevent the tool from scanning itself
2021-11-12 12:02:43 +01:00
Jacob Kozol
afcdb285e1 workflows: fix cron schedule
Github actions do not recognize @daily. Cron instead will explicitly run at 05:00
UTC.
2021-11-11 17:22:45 +00:00
Alexander Todorov
2782342cb3 ci: Enable Coverity Scan
https://scan.coverity.com/projects/image-builder-frontend
2021-11-11 10:23:19 +01:00
Sanne Raymaekers
03eed18b79 dependabot: Bump open PR limit 2021-10-12 18:15:50 +02:00
Sanne Raymaekers
1d629415c3 dependabot: Set correct rebase strategy 2021-10-12 15:45:18 +02:00
Sanne Raymaekers
318a161291 .github: Enabled dependabot 2021-10-12 15:27:07 +02:00
Sanne Raymaekers
8b6399b07b .github: Drop npm-update workflow 2021-10-12 15:27:07 +02:00
Sanne Raymaekers
4632d58bb8 npm-update: Fix install step 2021-07-15 15:36:22 +01:00
Sanne Raymaekers
e814ae1bb8 workflows: Move npm-update to Ubuntu 20.04
See https://github.com/cockpit-project/starter-kit/pull/409
2021-01-26 10:09:24 +01:00
Sanne Raymaekers
04846a3fa5 github: Move action to workflows folder 2020-10-27 17:36:36 +01:00
Sanne Raymaekers
7c4efebff8 github: Add npm-update action 2020-10-27 17:24:07 +01:00