[FEAT.] : Update only out of date mods instead of reinstalling all mods #53
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: Labeler | |
on: | |
issues: | |
types: [opened, edited] | |
jobs: | |
label-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Search Linux Term | |
uses: actions-ecosystem/action-regex-match@v2 | |
id: regex-match | |
with: | |
text: ${{ github.event.issue.body }} | |
regex: '\# Operating System(\s*)Linux' | |
flags: m | |
- name: Add Linux label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ steps.regex-match.outputs.match != '' }} | |
with: | |
github_token: ${{ secrets.GH_TOKEN }} | |
labels: linux |