mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-14 22:09:29 +02:00
chore: Update argos token
We have added a check in e2e, to ensure events in forks will not trigger the visual tests. This will not protect against malicious users, but there is no other way to support PRs from forks. A proposal has been sent to Argos team to add a secure approach for public repos, fingers crossed.
This commit is contained in:
2
.github/workflows/e2e.yml
vendored
2
.github/workflows/e2e.yml
vendored
@@ -29,7 +29,7 @@ env:
|
||||
github.event.before
|
||||
}}
|
||||
RUN_VISUAL_TEST: >-
|
||||
${{ github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/') }}
|
||||
${{ github.repository == 'mermaid-js/mermaid' && (github.event_name != 'pull_request' || !startsWith(github.head_ref, 'renovate/')) }}
|
||||
jobs:
|
||||
cache:
|
||||
runs-on: ubuntu-latest
|
||||
|
@@ -27,7 +27,7 @@ export default eyesPlugin(
|
||||
|
||||
if (config.env.useArgos) {
|
||||
registerArgosTask(on, config, {
|
||||
token: 'fc3a35cf5200db928d65b2047861582d9444032b',
|
||||
token: 'argos_cde7ec66b3c53730a7bbe4059a517f4a76',
|
||||
});
|
||||
} else {
|
||||
addMatchImageSnapshotPlugin(on, config);
|
||||
|
Reference in New Issue
Block a user