Skip to content

Bump alpine from 3.13 to 3.21 #2

Bump alpine from 3.13 to 3.21

Bump alpine from 3.13 to 3.21 #2

# This file is managed by Terraform, please contact devops team for changes
name: "Auto assign labels to pull requests"
on:
pull_request:
types: [opened]
jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Get repository topics
id: get-repo-topics
uses: actions/github-script@v5
with:
script: |
const repo = await github.rest.repos.get({
owner: context.repo.owner,
repo: context.repo.repo,
});
core.setOutput('topics', repo.data.topics.join("\n"));
- name: "Add Topics as Label"
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ github.token }}
labels: "${{ steps.get-repo-topics.outputs.topics }}"