Skip to content

fix(): Test

fix(): Test #11

Workflow file for this run

name: Test CI
on:
push:
jobs:
status:
runs-on: ubuntu-latest
name: Test commit status
steps:
- name: Fetch the last commit in the PR
id: sha
uses: actions/github-script@v7
with:
result-encoding: string
script: |
const { sha, issue: { owner, repo } } = context;
const status = await github.request(`POST /repos/${owner}/${repo}/statuses/${sha}`, {
owner,
repo,
sha,
state: 'success',
target_url: 'https://example.com/build/status',
description: 'The build succeeded!'
});
return status.data