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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 0 additions & 26 deletions .github/workflows/labels.yml

This file was deleted.

24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Test Bit Pull Request
on:
workflow_dispatch: # Manual trigger
# pull_request:
# types:
# - opened
# - synchronize
workflow_dispatch:
pull_request:
types:
- opened
- synchronize
permissions:
pull-requests: write
jobs:
Expand All @@ -20,13 +20,13 @@ jobs:
uses: bit-tasks/init@v2
with:
ws-dir: 'test-data'
- name: Creating a bare scope
run: mkdir bit-tasks.test-scope && cd bit-tasks.test-scope && bit init --bare
- name: Start the server and test
run: cd bit-tasks.test-scope && bit start --port 4000 --no-browser & sleep 200 && curl http://localhost:4000
- name: Add remote scope
run: cd test-data && bit remote add http://localhost:4000
- name: Bit Pull Request
uses: bit-tasks/pull-request@main
uses: bit-tasks/pull-request@use-ci-scripts
with:
version-labels: true
version-labels-color-major: "f0a09f"
version-labels-color-minor: "f0e8bd"
version-labels-color-patch: "c2e0c6"
clear-labels: true
- name: Bit Lanes
run: cd test-data && bit lane list --details
2 changes: 1 addition & 1 deletion .github/workflows/with-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
- name: Add remote scope
run: cd test-data && bit remote add http://localhost:4000
- name: Bit Pull Request
uses: bit-tasks/pull-request@main
uses: bit-tasks/pull-request@use-ci-scripts
- name: Bit Lanes
run: cd test-data && bit lane list --details
9 changes: 8 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ inputs:
description: "Remove all Bit labels from the Pull Request"
required: false
default: "false"
build:
description: "Build components in the Action Runner."
required: false
default: "false"
strict:
description: "Fail on warnings as well as errors."
required: false
default: "false"
runs:
using: 'node20'
main: 'dist/index.js'

Loading