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

This commit is contained in:
Robert Kaussow 2023-07-09 23:01:32 +02:00 committed by GitHub
parent c522d43505
commit be5313bff7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,40 +51,6 @@ steps:
environment: environment:
LHCI_SERVER_URL: https://drone-artifact.rknet.org/${DRONE_REPO_NAME}/ 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: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -284,9 +250,3 @@ depends_on:
- test - test
- build - build
- docs - docs
---
kind: signature
hmac: d9f5b3d50cb882be86c8e4b17bce3efc17fd22118c74a2140f924a118fc76cda
...