Skip to content

Instantly share code, notes, and snippets.

View adamkobor's full-sized avatar

Adam Kobor adamkobor

View GitHub Profile
@adamkobor
adamkobor / file-watcher-workflow.yml
Last active November 10, 2022 18:48
A simple GitHub workflow that is able to detect the changes of the configured files/directories and execute other steps (e.g. adding comments) based on the output
name: Changelog check
on:
pull_request:
branches: [ main ]
env:
MESSAGE_ID: "${{ github.ref_name }}-changelog-comment"
jobs:
check-changelog:
runs-on: ubuntu-latest