-
Notifications
You must be signed in to change notification settings - Fork 107
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
Run CI & security check using GitHub actions #666
Conversation
20f81d5
to
12811f1
Compare
6232e85
to
12b1445
Compare
Co-authored-by: Sem Schilder <[email protected]>
12b1445
to
2dbff71
Compare
- name: "Validate database schema" | ||
run: "bin/console doctrine:schema:validate" | ||
|
||
- name: "Set git committer info" |
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.
Stolen from #580
@@ -141,20 +141,32 @@ public function testUpdateWhenRepoExist(): void | |||
private function updateAdvisoriesDatabaseRepo(): void | |||
{ | |||
$this->filesystem->copy($this->repoDir.'/aws/aws-sdk-php/CVE-2015-5723.yaml', $this->repoDir.'/google/google-sdk-php/CVE-2015-5723.yaml'); | |||
(new Process(['git', 'add', '.'], $this->repoDir))->run(); | |||
(new Process(['git', '-c', 'commit.gpgsign=false', 'commit', '-a', '-m', 'New CVE discovered'], $this->repoDir))->run(); | |||
$this->executeCommandInRepoDir(['git', 'add', '.']); |
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.
Stolen from #580
|
||
strategy: | ||
fail-fast: false | ||
matrix: |
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.
This is ready for being expanded
- name: "Checkout" | ||
uses: "actions/checkout@v4" | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref || '' }} |
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.
we are in a detached HEAD mode in pull request, so we want to move back to the actual PR branch - without this package synchronization tests are failing 😠
f813597
to
6c4631b
Compare
6c4631b
to
976d61b
Compare
No description provided.