[Applications.Alarm] Add an internal API #10260
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: "Check API Level" | |
on: | |
pull_request_target: | |
branches: | |
- master | |
- DevelNUI | |
- API* | |
jobs: | |
add-labels: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Get Branch Metadata | |
uses: TizenAPI/tizenfx-build-actions/branch-metadata@master | |
id: metadata | |
with: | |
ref: ${{ github.base_ref }} | |
- name: Add Labels | |
if: ${{ steps.metadata.outputs.data }} | |
uses: actions/github-script@v6 | |
env: | |
BRANCH_METADATA: ${{ steps.metadata.outputs.data }} | |
with: | |
script: | | |
var metadata = JSON.parse(process.env.BRANCH_METADATA) | |
github.rest.issues.addLabels({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
labels: metadata.labels | |
}) |