Merge pull request #21 from devops-infra/dependabot/github_actions/cr… #21
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: Push to master | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
labels: | |
name: Update repo labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Download labels' config | |
shell: bash | |
run: | | |
mkdir -p .tmp | |
curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/.github/labels.yml -o .tmp/labels.yml | |
- name: Update labels | |
uses: crazy-max/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
yaml-file: .tmp/labels.yml | |
example: | |
name: Example | |
runs-on: ubuntu-latest | |
steps: | |
- name: Example | |
shell: bash | |
run: | | |
echo -e "\n[INFO] Example from ${{ github.ref }}" |