Skip to content
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

Fix TiCS action's permission error #694

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/cron-jobs.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Security and quality nightly scan

on:
schedule:
- cron: '0 10 * * *'
pull_request:
# schedule:
# - cron: '0 10 * * *'
eaudetcobello marked this conversation as resolved.
Show resolved Hide resolved

permissions:
contents: read

jobs:
TICS:
permissions:
Expand Down Expand Up @@ -47,7 +48,7 @@ jobs:

# TICS requires us to have the test results in cobertura xml format under the
# directory use below
make go.unit
sudo make go.unit
go install github.com/boumenot/gocover-cobertura@latest
gocover-cobertura < coverage.txt > coverage.xml
mkdir .coverage
Expand All @@ -62,7 +63,7 @@ jobs:
# will try to build parts of the project itself
sudo add-apt-repository -y ppa:dqlite/dev
sudo apt install dqlite-tools libdqlite-dev -y
make clean
sudo make clean
go build -a ./...

TICSQServer -project k8s-snap -tmpdir /tmp/tics -branchdir $HOME/work/k8s-snap/k8s-snap/
Expand Down
Loading