[.github/workflows]: Bump codecov/codecov-action from 4 to 5 in the github-actions group #41
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: Pull requests | |
on: | |
pull_request_target: # Default: ['opened', 'synchronize', 'reopened'] | |
types: ["opened", "synchronize", "reopened", "ready_for_review"] | |
jobs: | |
labeller: | |
permissions: | |
contents: read | |
pull-requests: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/labeler@v5 | |
deployment_on_base: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check for previous deployment on base | |
run: | | |
[[ $( | |
curl https://api.github.com/repos/${{ github.repository }}/releases | | |
jq '.[].target_commitish == "${{ github.event.pull_request.base.ref }}"' | | |
grep true | wc -l | |
) != 0 ]] | |
assign: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.assignee == null | |
steps: | |
- name: Assign reviewer | |
uses: kentaro-m/[email protected] | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |