1name: Comments on GitHub issues 2 3on: 4 workflow_dispatch: 5 inputs: 6 payload: 7 description: 'Serialized and escaped JSON describing what and where to comment.' 8 required: true 9 10jobs: 11 comment: 12 runs-on: ubuntu-22.04 13 steps: 14 - name: Checkout 15 uses: actions/checkout@v3 16 - name: ➕ Add `bin` to GITHUB_PATH 17 run: echo "$(pwd)/bin" >> $GITHUB_PATH 18 - name: ♻️ Restore caches 19 uses: ./.github/actions/expo-caches 20 id: expo-caches 21 with: 22 yarn-tools: 'true' 23 - name: Comment on GitHub issues as github-actions bot 24 run: expotools commentator --payload "${{ github.event.inputs.payload }}" 25 env: 26 GITHUB_TOKEN: ${{ secrets.EXPO_BOT_GITHUB_TOKEN }} 27