Skip to content
Merged
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
15 changes: 0 additions & 15 deletions .eslintignore

This file was deleted.

1 change: 0 additions & 1 deletion .eslintrc.js

This file was deleted.

11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,22 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Use Node.js v20

- name: Use Node.js v24
uses: actions/setup-node@v5
with:
node-version: 20.x
cache: 'npm'
node-version: 24.x
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Lint code
run: npm run lint

- name: Build action
run: npm run build

- name: Sync test branch
if: github.ref == 'refs/heads/main'
uses: ./
Expand Down
1 change: 0 additions & 1 deletion .huskyrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lts/iron
24
2 changes: 0 additions & 2 deletions .prettierignore

This file was deleted.

5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@master
- uses: connor-baer/action-sync-branch@main
uses: actions/checkout@v5

- uses: connor-baer/action-sync-branch@v2
with:
branch: test
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
20 changes: 10 additions & 10 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: 'Sync Branch'
description: 'Keep a branch in sync with the current branch'
author: 'Connor Bär'
name: "Sync Branch"
description: "Keep a branch in sync with the current branch"
author: "Connor Bär"

inputs:
branch:
description: 'The name of the branch to sync with the current branch.'
description: "The name of the branch to sync with the current branch."
required: true
token:
description: 'A GitHub token with permission to push to the repo. Generate one at https://github.com/settings/tokens/new?description=Sync%20Branch&scopes=repo.'
description: "A GitHub token with permission to push to the repo. Generate one at https://github.com/settings/tokens/new?description=Sync%20Branch&scopes=repo."
required: true
force:
description: 'Whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to false will make sure you are not overwriting work.'
description: "Whether to force the update or to make sure the update is a fast-forward update. Leaving this out or setting it to false will make sure you are not overwriting work."
default: false

runs:
using: 'node20'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"

branding:
icon: 'refresh-cw'
color: 'white'
icon: "refresh-cw"
color: "white"
7 changes: 7 additions & 0 deletions biome.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://biomejs.dev/schemas/2.2.0/schema.json",
"extends": ["@sumup-oss/foundry/biome"],
"files": {
"includes": ["*", "!dist"]
}
}
Loading