Skip to content

[releases/24.2] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - aae02ad59c6f4cd9d551a613b1d230d93e5a3098 #3166

[releases/24.2] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - aae02ad59c6f4cd9d551a613b1d230d93e5a3098

[releases/24.2] Update AL-Go System Files from microsoft/AL-Go-PTE@preview - aae02ad59c6f4cd9d551a613b1d230d93e5a3098 #3166

name: Pull request Labeler
on:
pull_request_target:
permissions:
contents: read
pull-requests: write
issues: write
defaults:
run:
shell: pwsh
jobs:
Label:
runs-on: ubuntu-latest
if: github.repository_owner == 'microsoft'
steps:
- name: Label pull request
uses: actions/labeler@v5
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
sync-labels: true
- name: Label community contribution
if: github.event.pull_request.head.repo.full_name != github.repository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api /repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/labels -f "labels[]=From Fork" -H "Accept: application/vnd.github.v3+json" -H "X-GitHub-Api-Version: 2022-11-28"