format README.md

This commit is contained in:
Muhammad Atif Ali 2024-06-05 16:41:34 +03:00 committed by GitHub
parent ccc49c4662
commit d00ad332ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,15 +43,16 @@ Update coder templates automatically
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Get latest commit hash
id: latest_commit
run: echo "hash=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Get commit title
id: commit_title
run: echo "title=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT
- name: Update Coder Template
uses: matifali/update-coder-template@v3
with:
@ -62,7 +63,6 @@ Update coder templates automatically
message: ${{ steps.commit_title.outputs.title }}
coder_session_token: ${{ secrets.CODER_SESSION_TOKEN }}
```
2. Update a Coder template with a random version name without activating.
```yaml
@ -78,7 +78,7 @@ Update coder templates automatically
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Update Coder Template
uses: matifali/update-coder-template@v3