Skip to content
Merged
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
10 changes: 9 additions & 1 deletion .github/workflows/cut_new_release_candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,19 @@ jobs:
needs:
- create_release_candidate
runs-on: ubuntu-latest
permissions:
id-token: write # octo-sts/action exchanges the job's OIDC token for a scoped GitHub token
steps:
- name: Mint channel-versions token
id: app_token
uses: octo-sts/action@f603d3be9d8dd9871a265776e625a27b00effe05 # v1.1.1
with:
scope: warpdotdev/channel-versions
identity: warp-internal-dispatch
- name: Invoke update workflow in channel-versions repository
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
repository: warpdotdev/channel-versions
token: ${{ secrets.CHANNEL_VERSIONS_REPOSITORY_DISPATCH_TOKEN }}
token: ${{ steps.app_token.outputs.token }}
event-type: update-channel-versions

10 changes: 9 additions & 1 deletion .github/workflows/cut_new_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,18 @@ jobs:
needs:
- create_release
runs-on: ubuntu-latest
permissions:
id-token: write # octo-sts/action exchanges the job's OIDC token for a scoped GitHub token
steps:
- name: Mint channel-versions token
id: app_token
uses: octo-sts/action@f603d3be9d8dd9871a265776e625a27b00effe05 # v1.1.1
with:
scope: warpdotdev/channel-versions
identity: warp-internal-dispatch
- name: Invoke update workflow in channel-versions repository
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
with:
repository: warpdotdev/channel-versions
token: ${{ secrets.CHANNEL_VERSIONS_REPOSITORY_DISPATCH_TOKEN }}
token: ${{ steps.app_token.outputs.token }}
event-type: update-channel-versions
13 changes: 12 additions & 1 deletion .github/workflows/notify-docs-settings-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Notify docs of Settings UI changes

# Fires when any Settings view source file is merged to master, signalling
# that valid_paths.json in warpdotdev/docs may need to be refreshed.
# The dispatch runs only in warp-internal; the synced copy in public warp skips it.
#
# If this job fails:
# 1. GitHub will email the commit author automatically.
Expand All @@ -23,14 +24,24 @@ permissions: {}
jobs:
dispatch:
name: Dispatch settings-ui-changed to docs
if: github.repository == 'warpdotdev/warp-internal'
runs-on: ubuntu-latest
permissions:
id-token: write # octo-sts/action exchanges the job's OIDC token for a scoped GitHub token
steps:
- name: Mint docs token
id: app_token
uses: octo-sts/action@f603d3be9d8dd9871a265776e625a27b00effe05 # v1.1.1
with:
scope: warpdotdev/docs
identity: warp-internal-dispatch

- name: Send repository_dispatch to warpdotdev/docs
id: dispatch
uses: peter-evans/repository-dispatch@v4
with:
repository: warpdotdev/docs
token: ${{ secrets.DOCS_REPOSITORY_DISPATCH_TOKEN }}
token: ${{ steps.app_token.outputs.token }}
event-type: settings-ui-changed
client-payload: |
{
Expand Down
Loading