Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
3 changes: 3 additions & 0 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
repository: 'optimizely/travisci-tools'
path: 'home/runner/travisci-tools'
ref: 'master'
# Don't leave the PAT on disk. The trigger script calls the GitHub API
# with curl and the token from env, not through git.
persist-credentials: false

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit (not a code change). This line isn't exercised by this PR's CI. react.yml calls this workflow as ...integration_test.yml@master, and in the PR run this job's checkout logged persist-credentials: true, the old value. I read the step that follows (trigger-script-with-status-update.sh -> generic-trigger.sh in travisci-tools@master): it only runs curl -u "$TOKEN" with the token from env, no git, so I expect no change. Please glance at the first master run of "Run integration tests" after merge. I'm not attaching a suggestion block because there is nothing to change.

- name: Set SDK branch if PR
env:
HEAD_REF: ${{ github.head_ref }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4
with:
# No later step uses git, so do not leave the GitHub token in .git/config.
persist-credentials: false
- name: Set up Node ${{ matrix.node }}
uses: actions/setup-node@v4
with:
Expand Down
Loading