https://github.com/markpatterson27/update-open-in-vscode-link
GitHub Action that updates the open in VS Code link for the current repository. Useful for template or forked repositories.
https://github.com/markpatterson27/update-open-in-vscode-link
Last synced: 4 months ago
JSON representation
GitHub Action that updates the open in VS Code link for the current repository. Useful for template or forked repositories.
- Host: GitHub
- URL: https://github.com/markpatterson27/update-open-in-vscode-link
- Owner: markpatterson27
- License: mit
- Created: 2021-07-10T21:23:31.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-10T23:29:17.000Z (almost 5 years ago)
- Last Synced: 2025-01-27T09:09:21.824Z (over 1 year ago)
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Update Open in VSCode Link
[](https://open.vscode.dev/markpatterson27/update-open-in-vscode-link)
GitHub Action that parses README and updates the 'Open in Visual Studio Code' link to work for the current repository. Intended use is for template or forked repositories, to update the link from the original respoitory to the new copied repository.
## Usage
An example workflow
```yaml
name: Update Link
on:
create:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Update link
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/main' }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Update link action step
uses: markpatterson27/update-open-in-vscode-link@v1
```