Skip to content

Commit

Permalink
Move action scripts to github folder
Browse files Browse the repository at this point in the history
  • Loading branch information
raducristianpopa committed Dec 11, 2023
1 parent e98d04b commit 6cdd80b
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ module.exports = async ({ github, context, core }) => {
const sha = context.payload.workflow_run.pull_requests[0].head.sha
const prNumber = context.payload.workflow_run.pull_requests[0].number
const jobLogsUrl = `${baseUrl}/actions/runs/${context.payload.workflow_run.id}`
const template = await fs.readFile('./scripts/templates/build-status.md', 'utf8')
const template = await fs.readFile('./.github/actions/templates/build-status.md', 'utf8')
const tableRows = []

core.setOutput('conclusion', conclusion)
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion .github/workflows/build-previews.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
id: get-workflow-artifacts
with:
script: |
const script = require('./scripts/get-workflow-artifacts.cjs')
const script = require('./.github/actions/get-workflow-artifacts.cjs')
await script({ github, context, core })
- name: Find comment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/delete-pr-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const script = require('./scripts/delete-artifacts.cjs')
const script = require('./.github/actions/delete-artifacts.cjs')
await script({ github, context, core })
6 changes: 3 additions & 3 deletions .github/workflows/pr-title-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Check PR title

on:
pull_request:
branches: ["**"]
branches: ['**']

jobs:
check-pr-title:
name: Check PR Title
runs-on: ubuntu-22.04
steps:
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6cdd80b

Please sign in to comment.