Automated Merging #6196
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: "Automated Merging" | |
on: | |
workflow_dispatch: | |
inputs: | |
stateId: | |
description: "State Id" | |
eventName: | |
description: "Event Name" | |
eventPayload: | |
description: "Event Payload" | |
settings: | |
description: "Settings" | |
authToken: | |
description: "Auth Token" | |
ref: | |
description: "Ref" | |
signature: | |
description: "The kernel signature" | |
command: | |
description: "Command" | |
jobs: | |
compute: | |
name: "Automated Merging" | |
runs-on: ubuntu-latest | |
permissions: write-all | |
environment: ${{ github.ref == 'refs/heads/main' && 'main' || 'development' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- run: ${{ toJSON(inputs) }} | |
shell: cat {0} | |
- name: Execute directive | |
uses: ./ | |
env: | |
KERNEL_PUBLIC_KEY: ${{ secrets.KERNEL_PUBLIC_KEY }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PLUGIN_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |