Skip to content

Commit

Permalink
docs: Correct version number, shorter description (#4)
Browse files Browse the repository at this point in the history
The descriptionc cannot be longer than 125 characters according to
GitHub Marketplace rules, so shortened it down.

Fixed version number in examples in README.md and example workflows.
  • Loading branch information
snorremd authored Nov 7, 2023
1 parent 866e5e5 commit 07a7194
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ job:
deployments: read
steps:
- name: Get last active deployment
uses: go-fjords/get-active-deployment-action@v1
uses: go-fjords/get-active-deployment-action@v0
id: get-deployment
with:
environment: production
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
deployments: read
steps:
- name: Get last active deployment
uses: go-fjords/get-active-deployment-action@v1
uses: go-fjords/get-active-deployment-action@v0
id: get-deployment
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
7 changes: 1 addition & 6 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: 'Get Last Active Deployment Action'
description: |
Find the (nth) last active deployment for a given GitHub environment.
The action will complete with empty outputs if no active deployments
are found. The action is useful for instance when you want to find the
SHA of the previous deployment to an environment so you can compute
the diff or commit history between the two deployments.
description: Find the (nth) last active deployment for a given GitHub environment.
author: 'Adventure Tech AS'

# Define your inputs here.
Expand Down
2 changes: 1 addition & 1 deletion example-workflows/get-previous-active-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
deployments: read
steps:
- name: Get previous active deployment
uses: go-fjords/get-active-deployment-action@v1
uses: go-fjords/get-active-deployment-action@v0
id: get-deployment
with:
environment: ${{ github.event.deployment.environment }}
Expand Down

0 comments on commit 07a7194

Please sign in to comment.