diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 488e054ba..dfb96405a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,7 +14,9 @@ jobs: e2e: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Use Node.js uses: actions/setup-node@v3 with: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 000000000..d018dbf91 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,23 @@ +name: Mark stale issues + +on: + schedule: + - cron: '0 0 * * *' # Midnight Runtime + +jobs: + stale: + runs-on: ubuntu-latest + + steps: + - uses: actions/stale@v9 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: "This issue has been labeled as a 'question', indicating that it requires additional information from the requestor. It has been inactive for 7 days. If no further activity occurs, this issue will be closed in 14 days." + stale-issue-label: 'stale' + days-before-stale: 7 + days-before-close: 14 + remove-stale-when-updated: true + close-issue-message: 'This issue has been closed due to inactivity. If you still require assistance, please provide the requested information.' + close-issue-reason: 'not_planned' + operations-per-run: 100 + only-labels: 'question' diff --git a/src/lib/wizards/functions/steps/configuration.svelte b/src/lib/wizards/functions/steps/configuration.svelte index b951796e7..d8afed74b 100644 --- a/src/lib/wizards/functions/steps/configuration.svelte +++ b/src/lib/wizards/functions/steps/configuration.svelte @@ -22,7 +22,8 @@ label="Entrypoint" id="entrypoint" placeholder="Entrypoint" - bind:value={$createFunction.entrypoint} /> + bind:value={$createFunction.entrypoint} + required /> Build commands diff --git a/src/routes/console/project-[project]/functions/function-[function]/createManual.svelte b/src/routes/console/project-[project]/functions/function-[function]/createManual.svelte index dc747b543..91507d198 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/createManual.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/createManual.svelte @@ -75,7 +75,8 @@ label="Entrypoint" id="entrypoint" placeholder="Entrypoint" - bind:value={entrypoint} /> + bind:value={entrypoint} + required /> {#if $func.version !== 'v3'} diff --git a/src/routes/console/project-[project]/functions/function-[function]/deploymentSource.svelte b/src/routes/console/project-[project]/functions/function-[function]/deploymentSource.svelte index d4a9bf35c..0c5b765de 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/deploymentSource.svelte +++ b/src/routes/console/project-[project]/functions/function-[function]/deploymentSource.svelte @@ -33,4 +33,6 @@ {:else if deployment.type === 'manual'}