Skip to content

v0.183.0

v0.183.0 #434

Workflow file for this run

name: create pr
on:
workflow_dispatch:
release:
types: [created]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Update plugin Links
run: |
sed -e "s/PLACEHOLDERVERSION/${{github.ref_name}}/g" .github/plugin_template.yaml > plugin.yaml
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
with:
token: ${{ secrets.PR_CREATION_TOKEN }}
branch: "update-plugin-links-${{github.ref_name}}"
title: "Update Plugin Artifacts Links for ${{github.ref_name}}"
base: master
add-paths: |
plugin.yaml
- name: Send Slack message (Workflow)
id: slack
uses: slackapi/slack-github-action@v1.21.0
with:
payload: |
{
"link": "${{ steps.cpr.outputs.pull-request-url }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.CODE_TEAM_SLACK_WEBHOOK }}
- name: Send Teams message
run: |
curl -H "Content-Type: application/json" -d '{"text": "New pull request opened: '${{ steps.cpr.outputs.pull-request-url }}'"}' ${{ secrets.TEAMS_WEBHOOK_URL }}