Skip to content

Commit

Permalink
chore(docs): typos and misalignments
Browse files Browse the repository at this point in the history
  • Loading branch information
joh-klein committed Jun 12, 2024
1 parent d945754 commit caac781
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<p style="text-align: center;"><img src=".github/assets/nx.png"
width="100%" alt="Nx - Smart, Extensible Build Framework"></p>

<h1 align="center">Set SHAs Action</h2>
<h1 align="center">Set SHAs Action</h1>

✨ A Github Action which sets the base and head SHAs required for the `nx affected` commands in CI
✨ A GitHub Action which sets the base and head SHAs required for the `nx affected` commands in CI

- [Example Usage](#example-usage)
- [Configuration Options](#configuration-options)
Expand Down Expand Up @@ -147,7 +147,7 @@ This Action supports usage of your own self-hosted runners, but since it uses Gi
jobs:
myjob:
runs-on: self-hosted
container: my-org/my-amazing-image:v1.2.3-fresh
container: my-org/my-amazing-image:v1.2.3-fresh
name: My Job
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions find-successful-workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,14 +272,14 @@ async function commitExists(
stdio: ["pipe", "pipe", null],
});

// Check the commit exists in general
// Check if the commit exists in general
await octokit.request("GET /repos/{owner}/{repo}/commits/{commit_sha}", {
owner,
repo,
commit_sha: commitSha,
});

// Check the commit exists on the expected main branch (it will not in the case of a rebased main branch)
// Check if the commit exists on the expected main branch (it will not in the case of a rebased main branch)
const commits = await octokit.request("GET /repos/{owner}/{repo}/commits", {
owner,
repo,
Expand Down

0 comments on commit caac781

Please sign in to comment.