From e7d6a2793081f1022322ca3b4889cd758e9b16ef Mon Sep 17 00:00:00 2001 From: CL Date: Thu, 15 Oct 2026 15:53:48 +0100 Subject: [PATCH] Announce pull requests that need action to Slack Pull requests here, Dependabot's included once it has a workflow to update, went unnoticed until someone opened the repository. The shared announcer posts one opened or reopened that is not a draft, or a draft marked ready for review, to #l337-org, and skips forks. It is this repository's first workflow, so a Dependabot configuration for GitHub Actions comes with it, and the instruction file no longer says there are no workflows. --- .github/copilot-instructions.md | 6 ++++-- .github/dependabot.yml | 12 ++++++++++++ .github/workflows/announce-pull-requests.yaml | 19 +++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/announce-pull-requests.yaml diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index e270a9d..3737144 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -3,8 +3,10 @@ ## What this repo is `.github` is GitHub's special **org-wide community-health-file defaults** repo for L337-org. -It has no application code, no dependencies, and no CI — just the markdown files below plus -the org's public profile page. It is not a mirror of another repo's instructions file; unlike +It has no application code, no dependencies, and no CI - just the markdown files below, the +org's public profile page, and one workflow, `.github/workflows/announce-pull-requests.yaml`, +which posts each pull request that needs action to Slack through the shared announcer in +`L337-org/github-workflows` (`.github/dependabot.yml` keeps its reference up to date). It is not a mirror of another repo's instructions file; unlike repos like `docker-mcp` and `send-to-influx`, there is no paired `CLAUDE.md` for this one to track. diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..d0d7190 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,12 @@ +# The workflow here references a shared workflow, so the github-actions ecosystem is watched and +# its references are proposed for update rather than left to age. One grouped pull request a week. +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + groups: + actions: + patterns: + - "*" diff --git a/.github/workflows/announce-pull-requests.yaml b/.github/workflows/announce-pull-requests.yaml new file mode 100644 index 0000000..41270be --- /dev/null +++ b/.github/workflows/announce-pull-requests.yaml @@ -0,0 +1,19 @@ +name: 'Announce pull requests' + +# Posts each pull request that needs action - opened, reopened, or marked ready for review - to +# Slack through the shared announcer in L337-org/github-workflows, which says what it skips and +# why. This repository's only workflow; it builds and tests nothing. +on: + pull_request: + types: [opened, reopened, ready_for_review] + +permissions: {} + +jobs: + slack: + name: Announce to Slack + uses: L337-org/github-workflows/.github/workflows/slack-on-pull-request.yaml@v2 + with: + channel: '#l337-org' + secrets: + SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}