Skip to content

Commit

Permalink
Merge pull request #992 from sbrunner/c2cciutils-upgrade-2.2
Browse files Browse the repository at this point in the history
CI updates
  • Loading branch information
sbrunner committed May 27, 2024
2 parents 856ad7c + 6dc378e commit 463da8e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 86 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/codeql.yaml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
if: env.HAS_SECRETS == 'HAS_SECRETS'
- run: git diff --exit-code --patch > /tmp/dpkg-versions.patch || true
if: failure()
- uses: actions/upload-artifact@v4
with:
name: Update dpkg versions list.patch
path: /tmp/dpkg-versions.patch
retention-days: 1
if: failure()
29 changes: 0 additions & 29 deletions .github/workflows/pr-checks.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/pull-request-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,32 +59,3 @@ jobs:
github.event.pull_request.user.login == 'renovate[bot]'
&& (github.event.action == 'opened'
|| github.event.action == 'reopened')
- name: Auto review and merge snyk auto fix
uses: actions/github-script@v7
with:
script: |-
github.rest.pulls.createReview({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
event: 'APPROVE',
});
github.graphql(`
mutation {
enablePullRequestAutoMerge(input: {
pullRequestId: "${context.payload.pull_request.node_id}",
mergeMethod: SQUASH,
}) {
pullRequest {
autoMergeRequest {
enabledAt
}
}
}
}
`)
if: |-
github.event.pull_request.user.login == 'sbrunner'
&& startsWith(github.head_ref, 'snyk-fix/')
&& (github.event.action == 'opened'
|| github.event.action == 'reopened')

0 comments on commit 463da8e

Please sign in to comment.