Skip to content

v0.178.8

v0.178.8 #415

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 }}