ci: remove insecure pr steps that requires secrets (#413)

This commit is contained in:
Robert Kaussow 2023-07-09 23:01:34 +02:00 committed by GitHub
parent a611955251
commit 09dfc3a974
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 40 deletions

View File

@ -51,40 +51,6 @@ steps:
environment:
LHCI_SERVER_URL: https://drone-artifact.rknet.org/${DRONE_REPO_NAME}/
- name: page-validation-upload
image: thegeeklab/drone-s3-sync:2
settings:
access_key:
from_secret: s3_access_key
bucket: drone-artifact
endpoint: https://sp.rknet.org
path_style: true
secret_key:
from_secret: s3_secret_access_key
source: lhci_reports/dist/
strip_prefix: lhci_reports/dist/
target: /${DRONE_REPO_NAME}
when:
status:
- failure
- success
- name: page-validation-link
image: thegeeklab/drone-github-comment
settings:
api_key:
from_secret: github_token
key: pr-${DRONE_PULL_REQUEST}
message: lhci_reports/dist/summary.md
skip_missing: true
update: true
when:
ref:
- refs/pull/**
status:
- failure
- success
trigger:
ref:
- refs/heads/main
@ -285,9 +251,3 @@ depends_on:
- test
- build
- docs
---
kind: signature
hmac: 59e767e0d55732ab76e896fa9324f67726c85b87f7dd9869f6eafb9bd05fee7f
...