Commit Graph
6 Commits
Author SHA1 Message Date
harshitasao aa297e197d ci: pin auto-assign dependencies
The openSSF scorecard report warns that the github actions are not
pinned by hash.

This PR aims at improving this by pinning the auto-assign.yaml workflow by hash.

Signed-off-by: harshitasao <harshitasao@gmail.com>
2024-08-15 14:52:06 +05:30
Michael Adam 0d01341d9c ci: fix syntax of auto-assign action
Fixes: #14518

The previous attempt to fix the auto-assign action

has introduced an indentation error in the workflow yaml file.

This should finally fix it, hopefully.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-07-31 20:31:09 +02:00
Michael Adam c57a21a80e ci: fix the permissions of the assign action
Fixes: #14518

A recent change seems to have broken the permissions of the auto-assign
action.

This tries to fix this by making permissions more specific.

Signed-off-by: Michael Adam <obnox@samba.org>
2024-07-31 20:06:38 +02:00
Michael AdamandBlaine Gardner 9b2b9b7be2 ci: fix excessive token permissions
Fixes: #14466

The OpenSSF scorecard report

https://scorecard.dev/viewer/?uri=github.com/rook/rook

warns about excessive token-permissions in the rook project's github CI
workflows.

This bulk change aims at improving this by

1. adding top-level read permissions where missing for integration tests.
2. adding write permissions as needed for the auto-assign workflow.
3. removing the warned-about and unused create-tag workflow

Signed-off-by: Michael Adam <obnox@samba.org>
Co-authored-by: Blaine Gardner <b.blaine.gardner@gmail.com>
2024-07-22 12:34:01 +02:00
parth-gr c7c5763648 ci: update github token in auto-assign bot
This Pr updates the behaviour of the token used by the bot
https://github.com/bdougie/take-action/commit/dae661e9a0abfafa2be0c170be1156302f4149e8

Closes: https://github.com/rook/rook/issues/11863

Signed-off-by: parth-gr <paarora@redhat.com>
2023-03-14 19:41:05 +05:30
parth-gr 2ba7237c98 ci: add ci bot for auto assign issue
Now users can auto-assign issues by commenting
/assign on the issue topic

Closes: https://github.com/rook/rook/issues/10492
Signed-off-by: parth-gr <paarora@redhat.com>
2022-07-14 11:22:28 +05:30