Adding Conditions to Handle 404 redirect_code for Invalid Urls and Ad… #782
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: 'External Pull Request Labeler' | |
on: | |
pull_request: | |
types: [opened] | |
jobs: | |
label-pulls: | |
# If the actor is not a team member, then apply the labeler | |
if: ${{ contains(fromJson('["anthoula","davemacaulay","dpatil-magento","eug123","jcalcaben","jimbo","revanth0212","sirugh","supernova-at","tjwiebell"]'), github.actor) != true }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/labeler@main | |
with: | |
repo-token: '${{ secrets.GITHUB_TOKEN }}' |