Skip to content

fix: R CI docsite issue #1566

fix: R CI docsite issue

fix: R CI docsite issue #1566

name: Create documentation ticket
on:
pull_request_target:
branches:
- main
- 'rc/v*'
types:
- closed
jobs:
create-docs-ticket:
# Only on merged PRs that contain the DocumentationNeeded flag
if: github.event.pull_request.merged && contains(github.event.pull_request.labels.*.name, 'DocumentationNeeded')
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Create Issues
id: create-issues
uses: actions/github-script@v7
with:
github-token: ${{ secrets.DOCS_ISSUES_PAT }}
script: |
const script = require('.github/workflows/create-docs-issues.js');
await script({github, context});
- name: Slack Failure Message
uses: slackapi/slack-github-action@v1.26.0
id: slack-failure-message
if: failure() && github.ref == 'refs/heads/main' && github.repository_owner == 'deephaven'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL_DEVREL }}
with:
payload: |
{
"repository": "${{ github.repository }}",
"message": "${{ github.workflow }}/${{ github.job }} failure",
"link": "${{ github.event.pull_request.html_url }}"
}