-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FOSSA license scan runs only on main repo #405
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Eguzki Astiz Lezaun <eastizle@redhat.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little confused why some things were re-enabled back, but if it works its all I care about 😄
@@ -100,23 +100,19 @@ jobs: | |||
# set ref name tag for non-main branches | |||
type=raw,value=${{ github.ref_name }},enable=${{ github.ref_name != env.MAIN_BRANCH_NAME }} | |||
- name: Login to container registry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wait, we do want to login, ... always?
@@ -12,7 +12,6 @@ on: | |||
jobs: | |||
publish: | |||
name: Publish Limitador crate to crates.io |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we would allow this on forks?
@@ -12,7 +12,7 @@ on: | |||
jobs: | |||
fossa-scan: | |||
name: Find license compliance and security issues | |||
if: github.repository == 'Kuadrant/limitador' | |||
if: github.event.pull_request.head.repo.full_name == github.repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hope this fixes it 🤞
I had this job fail here once on main
, but let's try this 🙌
Fixes #402