fix: single quote(') in commit_message would lead to failure #143
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, workflow_dispatch] | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }} | |
- name: Run action | |
uses: ./ | |
with: | |
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }} | |
channel: test-release-notification | |
test-custom-message: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }} | |
- name: Run action | |
uses: ./ | |
with: | |
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }} | |
channel: test-release-notification | |
message: <https://scribd.com|Custom message> | |
test-custom-message-with-special-characters: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }} | |
- name: Run action | |
uses: ./ | |
with: | |
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }} | |
channel: test-release-notification | |
message: <https://scribd.com|Special characters + 'single quote' + "double quotes" + `backtick`> | |
test-overwrite-repository: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }} | |
- name: Run action | |
uses: ./ | |
with: | |
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }} | |
channel: test-release-notification | |
repository: scribd/node-chassis | |
test-overwrite-status: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }} | |
- name: Run action | |
uses: ./ | |
with: | |
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }} | |
channel: test-release-notification | |
status: failure | |
test-overwrite-environment: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }} | |
- name: Run action | |
uses: ./ | |
with: | |
token: ${{ secrets.SCRIBD_SLACK_GENERIC_TOKEN_PUBLIC }} | |
channel: test-release-notification | |
environment: test-environment | |
codeowners: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.SCRIBD_GITHUB_RELEASE_TOKEN }} | |
- name: GitHub CODEOWNERS Validator | |
uses: mszostok/[email protected] | |
with: | |
checks: "files,duppatterns,syntax" |