Skip to content

Release Next Version #48

Release Next Version

Release Next Version #48

Workflow file for this run

name: Release Next Version
on:
workflow_dispatch:
inputs:
release_tag:
description: 'Release Tag'
required: true
type: string
env:
NEW_VERSION: ${{ github.event.inputs.release_tag }}
jobs:
release-pr:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
token: ${{ secrets.PROJECT_TOKEN }}
- name: Modify for next release
run: |
chmod +x release.sh
./release.sh ${{ env.NEW_VERSION }}
git diff
git config user.name "github-actions"
git config user.email "[email protected]"
- name: Create Pull Request
id: create-pr
uses: peter-evans/create-pull-request@v5
token: ${{ secrets.PROJECT_TOKEN }}

Check failure on line 32 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release Next Version

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 32, Col: 9): Unexpected value 'token' .github/workflows/release.yml (Line: 33, Col: 9): Unexpected value 'commit-message'
commit-message: 'release: clickstream Android ${{ env.NEW_VERSION }}'
title: 'release: clickstream Android ${{ env.NEW_VERSION }}'
author: github-actions <[email protected]>
committer: github-actions <[email protected]>
signoff: true
body: |
- [x] PR title and description conform to [Pull Request](https://github.com/awslabs/clickstream-android/blob/main/CONTRIBUTING.md#pull-request-guidelines) guidelines.
*Description of changes:*
1. 'release: clickstream Android ${{ env.NEW_VERSION }}'
*Documentation update required?*
- [ ] No
- [x] Yes (Please include a PR link for the documentation update)
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
labels: release
branch: release_${{ env.NEW_VERSION }}