Skip to content

chore: Test get release action #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,31 @@ concurrency:

jobs:
title:
permissions:
contents: write
id-token: write
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get latest ccp release
id: ccp
uses: pozetroninc/github-action-get-latest-release@v0.8.0
with:
owner: fluencelabs
repo: capacity-commitment-prover
excludes: prerelease, draft
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }}

- name: Format ccp release name
id: ccp-formated
# For docker container tag
env:
CCP_RELEASE: ${{ steps.ccp.outputs.release }}
run: echo "release=${CCP_RELEASE/-v/:}" >> $GITHUB_OUTPUT

- name: Update release notes
run: echo ${{ steps.ccp.outputs.release }} ${{ steps.ccp-formated.outputs.release }}