Skip to content

Commit

Permalink
ci(cue): DRY up
Browse files Browse the repository at this point in the history
  • Loading branch information
staticaland committed Aug 2, 2022
1 parent 47e151f commit f433360
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/vale.cue
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package workflows

#Slack: {
uses: "slackapi/slack-github-action@v1.21.0"
env: SLACK_BOT_TOKEN: "${{ secrets.SLACK_BOT_TOKEN }}"
uses: string | *"slackapi/slack-github-action@v1.21.0"
env: SLACK_BOT_TOKEN: string *"${{ secrets.SLACK_BOT_TOKEN }}"
...
}

name: "Vale"

on: pull_request: paths: [
"**.org",
"**.md",
]
on: push: paths: [
"**.org",
"**.md",
]
on: push: paths: on.pull_request.paths

jobs: vale: {
name: "Vale"
Expand Down

0 comments on commit f433360

Please sign in to comment.