Skip to content

Commit

Permalink
ci(.github/action): rename the deploy-release action to move-released…
Browse files Browse the repository at this point in the history
…-issues-and-create-sync-pr. Add a default value of the input pr-team-reviewers
  • Loading branch information
maksym-shynkarenko committed Apr 15, 2024
1 parent 51d09dc commit e976dd4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# deploy-release-v1
# move-released-issues-and-create-sync-pr-v1

A GitHub Action to label all related issues with the package version and create a PR to sync branches

## Inputs

| Name | Required | Description | Default |
| ------------------- | -------- | -------------------------------------------- | ------- |
| `token` | Yes | A GitHub token with the required permissions | NA |
| `project-number` | No | A project number of the project board | 66 |
| `head` | No | A head branch to sync from | main |
| `base` | No | A target branch for the created pull request | develop |
| `pr-team-reviewers` | No | Reviewers to tag on the created pull request | NA |
| Name | Required | Description | Default |
| ------------------- | -------- | -------------------------------------------- | ------------ |
| `token` | Yes | A GitHub token with the required permissions | NA |
| `project-number` | No | A project number of the project board | 66 |
| `head` | No | A head branch to sync from | main |
| `base` | No | A target branch for the created pull request | develop |
| `pr-team-reviewers` | No | Reviewers to tag on the created pull request | axe-api-team |

## Example usage

```yaml
name: Deploy release

jobs:
deploy-release:
move-released-issues-and-create-sync-pr:
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: dequelabs/axe-api-team-public/.github/actions/deploy-release-v1@main
- uses: dequelabs/axe-api-team-public/.github/actions/move-released-issues-and-create-sync-pr-v1@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
project-number: '66'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: deploy-release-v1
name: move-released-issues-and-create-sync-pr-v1
description: Label all related issues with the package version and create a PR to sync branches

inputs:
Expand All @@ -20,10 +20,12 @@ inputs:
pr-team-reviewers:
description: 'Reviewers to tag on the created pull request'
required: false
default: axe-api-team

runs:
using: 'composite'
steps:
# This step is required for the next steps
- uses: actions/checkout@v4
with:
# Fetch all history
Expand Down

0 comments on commit e976dd4

Please sign in to comment.