Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/spell-checking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,25 @@ on: # rebuild any PRs and main branch changes
options: ['true', 'false']


permissions:
contents: read

jobs:
spellcheck: # run the action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: stone-payments/approved-actions/actions/checkout/v4@stable

- name: Install Node
uses: actions/setup-node@v4
uses: stone-payments/approved-actions/actions/setup-node/v4@stable
with:
node-version: 18

- run: |
cd .cspell
npm install

- uses: streetsidesoftware/cspell-action@v6
- uses: stone-payments/approved-actions/streetsidesoftware/cspell-action/v6@stable
with:
incremental_files_only: ${{ github.event.inputs.incremental_files_only }}
config: "./cspell.json"
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/sync-repositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
sync-repos:
if: github.repository_owner == 'stone-payments'
Expand All @@ -29,30 +32,30 @@ jobs:

- name: Generate GitHub App Token
id: app-token-stone-payments
uses: actions/create-github-app-token@v1
uses: stone-payments/approved-actions/actions/create-github-app-token/v1@stable
with:
app-id: 996272
private-key: ${{ secrets.GH_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: ${{ env.REPO }}

- name: Checkout repository
uses: actions/checkout@v4
uses: stone-payments/approved-actions/actions/checkout/v4@stable
with:
token: ${{ steps.app-token-stone-payments.outputs.token }}
path: "${{github.repository_owner}}-${{ env.REPO }}"

- name: Generate GitHub App Token
id: app-token
uses: actions/create-github-app-token@v1
uses: stone-payments/approved-actions/actions/create-github-app-token/v1@stable
with:
app-id: 996272
private-key: ${{ secrets.GH_PRIVATE_KEY }}
owner: ${{ env.ORG }}
repositories: ${{ env.REPO }}

- name: Checkout repository
uses: actions/checkout@v4
uses: stone-payments/approved-actions/actions/checkout/v4@stable
with:
token: ${{ steps.app-token.outputs.token }}
repository: "${{ env.ORG }}/${{ env.REPO }}"
Expand Down
Loading