fix(deps): update kotlinx: wrappers #486
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Copybara" | |
on: | |
push: | |
branches: | |
- v3 | |
- main | |
- stable | |
pull_request: | |
types: [labeled, opened, reopened, synchronize] | |
jobs: | |
copybara-protocol: | |
name: "Job: Protocol" | |
runs-on: ubuntu-latest | |
if: | | |
(github.event_name == 'push' && github.ref == 'refs/heads/v3') || | |
(github.event_name == 'push' && github.ref == 'refs/heads/stable') || | |
(github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'migrate:protocol') || | |
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'migrate:protocol')) | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 | |
with: | |
egress-policy: audit | |
- name: "Setup: Checkout" | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v3 | |
- name: "Migrate: Protocol" | |
uses: sgammon/copybara-action@5669453d54072738035b0985cfe322d0ee5de0db | |
with: | |
git_name: Elidebot | |
git_email: bot@elide.dev | |
git_credentials: ${{ secrets.BOT_API_CREDS }} | |
ssh_key: ${{ secrets.BOT_SSH_KEY }} | |
ssh_known_hosts: ${{ secrets.BOT_KNOWN_HOSTS }} | |
image: us-docker.pkg.dev/elide-fw/tools/copybara:latest | |
invocation: "copybara" | |
workflow: "protocol" | |
options: "--init-history --ignore-noop" | |
command: "migrate" | |
path: "copy.bara.sky" | |
ref: "${{ github.event.pull_request.head.sha }}" | |
copybara-buildtools: | |
name: "Job: Build Tools" | |
runs-on: ubuntu-latest | |
if: | | |
(github.event_name == 'push' && github.ref == 'refs/heads/v3') || | |
(github.event_name == 'push' && github.ref == 'refs/heads/stable') || | |
(github.event_name == 'pull_request' && github.event.action == 'labeled' && github.event.label.name == 'migrate:buildtools') || | |
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'migrate:buildtools')) | |
steps: | |
# Pull code. | |
- name: Harden Runner | |
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 | |
with: | |
egress-policy: audit | |
- name: "Setup: Checkout" | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v3 | |
- name: "Migrate: Cluster" | |
uses: sgammon/copybara-action@5669453d54072738035b0985cfe322d0ee5de0db | |
with: | |
git_name: Elidebot | |
git_email: bot@elide.dev | |
git_credentials: ${{ secrets.BOT_API_CREDS }} | |
ssh_key: ${{ secrets.BOT_SSH_KEY }} | |
ssh_known_hosts: ${{ secrets.BOT_KNOWN_HOSTS }} | |
image: us-docker.pkg.dev/elide-fw/tools/copybara:latest | |
invocation: "copybara" | |
workflow: "buildtools" | |
options: "--init-history --ignore-noop" | |
command: "migrate" | |
path: "copy.bara.sky" | |
ref: "${{ github.event.pull_request.head.sha }}" |