Skip to content

Migrate to ECS environment #1

Migrate to ECS environment

Migrate to ECS environment #1

Workflow file for this run

name: add labels for some cases
on: pull_request
jobs:
reviewapps:
name: grant 'reviewapps' label if there are any changes in PR's source code.
runs-on: ubuntu-latest # windows-latest | macos-latest
if: ${{ ! startsWith(github.head_ref, 'renovate/') }}
steps:
# to trigger other Actions caused by adding reviewapp Label
- name: Generate token
if: steps.check-paths-ignore.outputs.any_changed == 'true'
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.PRIVATE_KEY }}
- id: label-the-PR
uses: actions/labeler@v5
with:
repo-token: ${{ steps.generate_token.outputs.token }}