1name: Process when issue is closed 2 3on: 4 issues: 5 types: [closed] 6 7jobs: 8 run-on-issue-accepted: 9 runs-on: ubuntu-22.04 10 if: contains(github.event.issue.labels.*.name, 'Issue accepted') 11 steps: 12 - name: Checkout 13 uses: actions/checkout@v3 14 - name: ➕ Add `bin` to GITHUB_PATH 15 run: echo "$(pwd)/bin" >> $GITHUB_PATH 16 - name: ♻️ Restore caches 17 uses: ./.github/actions/expo-caches 18 id: expo-caches 19 with: 20 yarn-tools: 'true' 21 - name: Close Linear issue 22 run: expotools close-linear-issue-from-github --issue "${{ github.event.issue.number }}" 23 env: 24 GITHUB_TOKEN: ${{ secrets.EXPO_BOT_GITHUB_TOKEN }} 25 LINEAR_API_KEY: ${{ secrets.LINEAR_API_KEY }} 26