Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
👷 Add latest-changes GitHub Action (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo authored Nov 4, 2023
1 parent fe8f4c1 commit 6a439cf
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/latest-changes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Latest Changes

on:
pull_request_target:
branches:
- master
types:
- closed
workflow_dispatch:
inputs:
number:
description: PR number
required: true
debug_enabled:
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: 'false'

jobs:
latest-changes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.NODE_FRONTEND_LATEST_CHANGES }}
- uses: docker://tiangolo/latest-changes:0.2.0
# - uses: tiangolo/latest-changes@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,12 @@ By making Nginx simply respond with 404 errors when requested for `/docs`, you a

And because you have a load balancer on top, redirecting requests to `/docs` to the correct service, Nginx would never actually return that 404. Only in the case of a failure, or during development.

## Release Notes

### Latest Changes

### Initial Release

## License

This project is licensed under the terms of the MIT license.

0 comments on commit 6a439cf

Please sign in to comment.