disable cron event for securityscan job (#4535)

This commit is contained in:
Patrick Schratz 2024-12-08 22:12:58 +01:00 committed by GitHub
parent 032bdd6b2d
commit 625a0155af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -14,13 +14,13 @@ steps:
- echo -e "\nLast checked:$(date)" >> links.md - echo -e "\nLast checked:$(date)" >> links.md
- name: Update issue - name: Update issue
image: docker.io/curlimages/curl:8.11.0 image: docker.io/alpine:3.21
depends_on: links depends_on: links
environment: environment:
GITHUB_TOKEN: GITHUB_TOKEN:
from_secret: github_token from_secret: github_token
commands: commands:
- apk add -q --no-cache jq - apk add -q --no-cache jq curl
- export ISSUE_NUMBER=4514 - export ISSUE_NUMBER=4514
- export DESCRIPTION=$(cat links.md) - export DESCRIPTION=$(cat links.md)
- | - |

View file

@ -1,5 +1,5 @@
when: when:
- event: [pull_request, cron] - event: [pull_request]
- event: push - event: push
branch: branch:
- ${CI_REPO_DEFAULT_BRANCH} - ${CI_REPO_DEFAULT_BRANCH}