-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from glideapps/add-devcontainer
DX improvements
- Loading branch information
Showing
4 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. | ||
{ | ||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
"forwardPorts": [3000], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "script/setup && script/start" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for more information: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
# https://containers.dev/guide/dependabot | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "devcontainers" | ||
directory: "/" | ||
schedule: | ||
interval: weekly |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Add helpful comment to PRs | ||
|
||
env: | ||
changelog_path: "api-reference/v2/resources/changelog.mdx" | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
branches: | ||
- main | ||
paths: | ||
- "openapi/*.json" | ||
- "api-reference/**.mdx" | ||
- "mint.json" | ||
|
||
jobs: | ||
add-comment: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pull-requests: write | ||
|
||
steps: | ||
- id: changed-files | ||
uses: tj-actions/changed-files@v45 | ||
with: | ||
files: | | ||
${{ env.changelog_path }} | ||
- uses: mshick/add-pr-comment@v2 | ||
if: steps.changed-files.outputs.any_changed != 'true' | ||
with: | ||
message: | | ||
It looks like you've made changes to the API docs! :raised_hands: | ||
:black_square_button: Update the changelog in `${{ env.changelog_path }}` - [:pencil2: Edit file](https://github.com/${{ github.repository }}/edit/${{ github.head_ref }}/${{ env.changelog_path }}) | [:bulb: Draft with AI](https://update-api-docs-changelog.glide.page/?pr=${{ github.event.number }}) | ||
:point_right: You may want to [preview the changes in a Codespace](https://codespaces.new/${{ github.repository }}/pull/${{ github.event.number }}?quickstart=1) | ||
- uses: mshick/add-pr-comment@v2 | ||
if: steps.changed-files.outputs.any_changed == 'true' | ||
with: | ||
message: | | ||
It looks like you've made changes to the API docs! :raised_hands: | ||
:ballot_box_with_check: The changelog has been updated :tada: | ||
:point_right: You may want to [preview the changes in a Codespace](https://codespaces.new/${{ github.repository }}/pull/${{ github.event.number }}?quickstart=1) |
2 changes: 1 addition & 1 deletion
2
.github/workflows/actions.yml → .github/workflows/check-blocked.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Actions | ||
name: Check for blocking labels | ||
|
||
on: | ||
pull_request: | ||
|