Skip to content

Commit 0961c51

Browse files
committed
Remove inputs
1 parent 156c604 commit 0961c51

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

.github/workflows/generation.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@ name: APIGenerator CI/CD Pipeline
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
target_branch:
7-
description: 'Target branch for API updates'
8-
required: false
9-
default: 'automatic-api-updates'
10-
skip_cache:
11-
description: 'Skip cache and force rebuild'
12-
required: false
13-
default: false
14-
type: boolean
155
schedule:
166
- cron: '0 1 * * 0' # Every Sunday at 1 AM UTC
177

@@ -21,7 +11,7 @@ permissions:
2111
actions: read
2212

2313
env:
24-
TARGET_BRANCH: ${{ inputs.target_branch || 'automatic-api-updates' }}
14+
TARGET_BRANCH: automatic-api-updates
2515
FALLBACK_BRANCH: main
2616
DOTNET_VERSION: '8.0.x'
2717
BUILD_CONFIGURATION: Release
@@ -74,7 +64,7 @@ jobs:
7464

7565
- name: Cache NuGet packages
7666
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
77-
if: ${{ !inputs.skip_cache }}
67+
7868
with:
7969
path: |
8070
~/.nuget/packages
@@ -160,7 +150,7 @@ jobs:
160150

161151
- name: Cache NuGet packages
162152
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
163-
if: ${{ !inputs.skip_cache }}
153+
164154
with:
165155
path: |
166156
~/.nuget/packages
@@ -538,7 +528,7 @@ jobs:
538528

539529
- name: Cache NuGet packages
540530
uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1
541-
if: ${{ !inputs.skip_cache }}
531+
542532
with:
543533
path: |
544534
~/.nuget/packages

0 commit comments

Comments
 (0)