Skip to content

Commit 5bd10dc

Browse files
docs: update actions and workflows documentation
[skip ci] Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c751cb6 commit 5bd10dc

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

actions/deployment/create/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ permissions:
4848
## Usage
4949
5050
```yaml
51-
- uses: hoverkraft-tech/ci-github-publish/actions/deployment/create@84d583ba7b357f9476707f54cf5419d630ae0145 # 0.26.2
51+
- uses: hoverkraft-tech/ci-github-publish/actions/deployment/create@b2562b46714e535a0113f90f554b55e1248212c1 # 0.26.3
5252
with:
5353
# The environment to deploy to
5454
# This input is required.
5555
environment: ""
5656

57-
# The token to use to fetch pull request data. It needs the `pull-requests:read` permission.
57+
# The token to use to fetch pull request data. It needs the `deployments: write, pull-requests: read` permissions.
5858
# Default: `${{ github.token }}`
5959
token: ${{ github.token }}
6060
```
@@ -65,10 +65,10 @@ permissions:
6565
6666
## Inputs
6767
68-
| **Input** | **Description** | **Required** | **Default** |
69-
| ----------------- | ------------------------------------------------------------------------------------------ | ------------ | --------------------- |
70-
| **`environment`** | The environment to deploy to | **true** | - |
71-
| **`token`** | The token to use to fetch pull request data. It needs the `pull-requests:read` permission. | **false** | `${{ github.token }}` |
68+
| **Input** | **Description** | **Required** | **Default** |
69+
| ----------------- | ---------------------------------------------------------------------------------------------------------------- | ------------ | --------------------- |
70+
| **`environment`** | The environment to deploy to | **true** | - |
71+
| **`token`** | The token to use to fetch pull request data. It needs the `deployments: write, pull-requests: read` permissions. | **false** | `${{ github.token }}` |
7272

7373
<!-- inputs:end -->
7474

actions/deployment/update/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ permissions:
4848
## Usage
4949
5050
```yaml
51-
- uses: hoverkraft-tech/ci-github-publish/actions/deployment/update@84d583ba7b357f9476707f54cf5419d630ae0145 # 0.26.2
51+
- uses: hoverkraft-tech/ci-github-publish/actions/deployment/update@b2562b46714e535a0113f90f554b55e1248212c1 # 0.26.3
5252
with:
5353
# The ID of the deployment to update
5454
# This input is required.
@@ -74,6 +74,7 @@ permissions:
7474

7575
# GitHub Token to update the deployment.
7676
# Permissions:
77+
# - actions: read
7778
# - deployments: write
7879
# See https://docs.github.com/en/rest/deployments/statuses?apiVersion=2022-11-28#create-a-deployment-status.
7980
#
@@ -97,6 +98,7 @@ permissions:
9798
| **`update-log-url`** | Update the log URL of the deployment | **false** | `true` |
9899
| **`github-token`** | GitHub Token to update the deployment. | **false** | `${{ github.token }}` |
99100
| | Permissions: | | |
101+
| | - actions: read | | |
100102
| | - deployments: write | | |
101103
| | See <https://docs.github.com/en/rest/deployments/statuses?apiVersion=2022-11-28#create-a-deployment-status>. | | |
102104

0 commit comments

Comments
 (0)