Update post_command.dart #200
Workflow file for this run
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 Request Labeler | |
on: | |
# Trigger "pull_request" would not work for pull request from a fork because | |
# the secrets would be not accessible. "pull_request_target" uses the context | |
# from the base branch which allows to use secrets for pull requests from a | |
# fork. | |
pull_request_target: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- closed | |
# Declare default permissions as read only. | |
# | |
# Having workflows without default permissions is considered a bad security | |
# practice and it is causing alerts from our scanning tools. | |
permissions: read-all | |
jobs: | |
# This workflow applies labels to pull requests based on the paths that are | |
# modified in the pull request. | |
# | |
# Edit `.github/labeler.yml` to configure labels. | |
# | |
# For more information, see: https://github.com/actions/labeler | |
label: | |
permissions: | |
pull-requests: write | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/labeler@a96e5aec3e3d5caaefde174986c02d40560a0b91 | |
with: | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" |