Skip to content

Commit

Permalink
Update workflows (#9650)
Browse files Browse the repository at this point in the history
* Update semgrep.yaml to also run daily

* update semgrep rule

* fix workflows

* Update .github/workflows/semgrep.yaml

Co-authored-by: Balaji Arun <balaji@aptoslabs.com>

---------

Co-authored-by: Balaji Arun <balaji@aptoslabs.com>
  • Loading branch information
gedigi and ibalajiarun committed Aug 15, 2023
1 parent 47191dd commit 5572615
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ rules:
...
$JOBNAME:
...
- pattern-not-inside: |
needs: [..., permission-check, ...]
...
- pattern-not-inside: |
needs:
...
- permission-check
...
...
- pattern-not-inside: |
needs: [permission-check]
...
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:

# This job determines which files were changed
file_change_determinator:
needs: [permission-check]
runs-on: ubuntu-latest
outputs:
only_docs_changed: ${{ steps.determine_file_changes.outputs.only_docs_changed }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/semgrep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
workflow_dispatch:
pull_request:
types: [labeled, opened, synchronize, reopened, auto_merge_enabled]
schedule:
- cron: '0 * * * *'

jobs:
semgrep:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ts-sdk-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:

# This job determines which files were changed
file_change_determinator:
needs: [permission-check]
runs-on: ubuntu-latest
outputs:
only_docs_changed: ${{ steps.determine_file_changes.outputs.only_docs_changed }}
Expand Down

0 comments on commit 5572615

Please sign in to comment.