feat: notify platform-types repo on reference change - #853
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to notify the fylein/fyle-platform-types repository whenever bundled OpenAPI specs in reference/ change on main.
Changes:
- Introduces a new workflow that triggers on
pushtomainaffectingreference/**. - Generates a GitHub App installation token and sends a
repository_dispatchevent (specs-updated) tofyle-platform-typeswith commit metadata.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (1)
.github/workflows/notify-types-repo.yml:10
on.push.branchesis defined as a scalar (branches: main). In this repo’s other workflows,branchesis consistently a YAML sequence (e.g..github/workflows/secrets-scan.yml:9-10andbundler.yml:9-10). Using the sequence form here avoids any ambiguity in GitHub Actions event filtering and keeps the workflow consistent with the codebase.
on:
push:
branches:
- main
paths:
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.
Comments suppressed due to low confidence (2)
.github/workflows/notify-types-repo.yml:14
- This workflow doesn’t appear to need any repository-scoped
GITHUB_TOKENpermissions because it only uses repository secrets and an installation token generated from those secrets. Grantingcontents: readis broader than necessary; consider setting permissions to none to follow least-privilege.
permissions:
contents: read
.github/workflows/notify-types-repo.yml:1
- The PR description still contains the placeholder text (“Please add PR description here…”) and the ClickUp section is only a bare domain. This repo’s contribution guidelines require a real ClickUp link in the PR description; please update the PR description accordingly.
name: Notify types repo on spec change
Aniruddha-Shriwant
approved these changes
Jul 28, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Please add PR description here, add screenshots if needed
Clickup
app.clickup.com