Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

v0.8.1

v0.8.1 #8

name: J1 Integration deployment
on:
release:
types:
- published
jobs:
j1-integration-deployment:
runs-on: ubuntu-latest
steps:
- name: Get integration name
id: get-integration-name
uses: actions/[email protected]
with:
script: |
const repositoryName = context.payload.repository.name
const integrationName = repositoryName.replace("graph-", "")
core.setOutput('integrationName', integrationName)
- name: Get version number
id: get-version-number
uses: actions/[email protected]
with:
script: |
const tagName = context.payload.release.tag_name
const versionNumber = tagName.replace("v", "")
core.setOutput('versionNumber', versionNumber)
- name: Bump integration deployment version
uses: JupiterOne/integration-github-actions/create-integration-deployment@v1
with:
integrationName:
${{ steps.get-integration-name.outputs.integrationName }}
releaseNotes: ${{ github.event.release.body }}
version: ${{ steps.get-version-number.outputs.versionNumber }}
githubToken: ${{ secrets.AUTO_GITHUB_PAT_TOKEN }}
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }}