The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix: enforce target branch workflow
jubnl3ad1bef134e1
diff --git a/.github/workflows/enforce-target-branch.yml b/.github/workflows/enforce-target-branch.ymlindex d8027ccba..7a326a3f6 100644--- a/.github/workflows/enforce-target-branch.yml+++ b/.github/workflows/enforce-target-branch.yml@@ -1,7 +1,7 @@name: Enforce PR Target Branchon:- pull_request:+ pull_request_target:types: [opened, reopened, edited, synchronize]jobs:@@ -9,6 +9,8 @@ jobs:runs-on: ubuntu-latestpermissions:pull-requests: write+ issues: write+ contents: readsteps:- name: Flag or clear wrong base branch@@ -63,14 +65,16 @@ jobs:repo: context.repo.repo,name: 'wrong-base-branch',});- } catch {- await github.rest.issues.createLabel({- owner: context.repo.owner,- repo: context.repo.repo,- name: 'wrong-base-branch',- color: 'd73a4a',- description: 'PR is targeting the wrong base branch',- });+ } catch (err) {+ if (err.status === 404) {+ await github.rest.issues.createLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: 'wrong-base-branch',+ color: 'd73a4a',+ description: 'PR is targeting the wrong base branch',+ });+ }}await github.rest.issues.addLabels({