Skip to content
Closed
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
12 changes: 8 additions & 4 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,19 @@ jobs:

steps:
- name: Connect to Tailscale
uses: tailscale/github-action@v2
# SHA-pinned to mitigate supply-chain hijack of the v2 floating tag.
uses: tailscale/github-action@05c58255396c88c609919d571a8b117099c69020 # v2
with:
authkey: ${{ secrets.TAILSCALE_AUTH_KEY }}

- name: Deploy
uses: appleboy/ssh-action@v1
# SHA-pinned to mitigate supply-chain hijack of the v1 floating tag.
uses: appleboy/ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2 # v1
with:
host: 100.96.144.19
username: trinity
# Host + username come from repo secrets so this public workflow file
# doesn't disclose the Tailscale topology of the dev environment.
host: ${{ secrets.DEV_HOST }}
username: ${{ secrets.DEV_USER }}
key: ${{ secrets.DEV_SSH_KEY }}
command_timeout: 25m
script: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ jobs:

- name: Publish to PyPI
if: steps.check.outputs.skip != 'true'
uses: pypa/gh-action-pypi-publish@release/v1
# SHA-pinned to mitigate supply-chain hijack of the release/v1 branch.
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
with:
packages-dir: src/cli/dist/

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/sync-docs-to-vertex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ jobs:
uses: actions/checkout@v4

- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
# SHA-pinned to mitigate supply-chain hijack of the v2 floating tag.
uses: google-github-actions/auth@c200f3691d83b41bf9bbd8638997a462592937ed # v2
with:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}
service_account: ${{ secrets.GCP_SERVICE_ACCOUNT }}

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
# SHA-pinned to mitigate supply-chain hijack of the v2 floating tag.
uses: google-github-actions/setup-gcloud@e427ad8a34f8676edf47cf7d7925499adf3eb74f # v2

- name: Convert and sync docs to GCS
run: |
Expand Down
Loading