Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit caaf2026 authored by Philipp Kewisch's avatar Philipp Kewisch Committed by GitHub
Browse files

Work around request-action issue for needinfo automation (#8206)

parent 16023cd6
Loading
Loading
Loading
Loading
+5 −9
Original line number Diff line number Diff line
@@ -16,13 +16,9 @@ jobs:
      issues: write
      pull-requests: write
    steps:
      # https://github.com/octokit/request-action/issues/118
      - name: Remove needinfo label
        uses: octokit/request-action@v2.x
        continue-on-error: true
        with:
          route: DELETE /repos/:repository/issues/:issue/labels/:label
          repository: ${{ github.repository }}
          issue: ${{ github.event.issue.number }}
          label: "status: needs information"
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        run: |
          curl --request DELETE \
            --url 'https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels/status%3A%20needs%20information' \
            --header 'Authorization: token ${{ secrets.GITHUB_TOKEN }}'