Improve the code to print the secrets using printTable #18
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: slash-commands | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
slash_command_dispatch: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Generate a token | |
id: generate-token | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: ${{ vars.CNOE_GH_WORKFLOW_TOKEN_APP_ID }} | |
private-key: ${{ secrets.CNOE_GH_WORKFLOW_TOKEN_PRIVATE_KEY }} | |
- name: Slash Command Dispatch | |
uses: peter-evans/slash-command-dispatch@v4 | |
with: | |
token: ${{ steps.generate-token.outputs.token }} | |
commands: | | |
e2e | |
permission: write | |
issue-type: pull-request |