/action

Actions yaml

Primary LanguageTypeScriptMIT LicenseMIT

action

Actions yaml

Merge

name: Set Labels on Pull Request

on:
  pull_request:
    types:
      - closed
      - reopened
      
jobs:
  update:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4.1.1
      - name: Check if Pull Request
        id: check_pr
        run: echo "is_pull_request=${{ github.event_name == 'pull_request' }}" >> $GITHUB_ENV
      - if: env.is_pull_request == 'true'
        name: Merge Label
        uses: Ludy87/action/merge@v1.0.6

update HACS.json

name: Daily Update

on:
  schedule:
    - cron: "0 0 * * *"

jobs:
  update:
    runs-on: ubuntu-latest
    permissions:
      contents: write
      pull-requests: write
    steps:
      - uses: actions/checkout@v4.1.1
      - name: Update hacs.json
        uses: Ludy87/action/update_hacs_hassio@v1.0.6