Skip to content

Commit

Permalink
Use 2-space indent for YAML.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed May 1, 2024
1 parent 82cc5da commit 60aa13d
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 64 deletions.
34 changes: 18 additions & 16 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
version: 2
updates:
- directory: /
package-ecosystem: github-actions
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
- directory: /
package-ecosystem: nuget
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
- package-ecosystem: github-actions
directories:
- /
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
- package-ecosystem: nuget
directories:
- /
schedule:
interval: daily
timezone: Europe/Copenhagen
time: "12:00"
open-pull-requests-limit: 25
labels: []
70 changes: 35 additions & 35 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Build
on:
push:
branches-ignore:
- dependabot/**
pull_request:
workflow_dispatch:
push:
branches-ignore:
- dependabot/**
pull_request:
workflow_dispatch:
permissions:
contents: read
contents: read
defaults:
run:
shell: bash
run:
shell: bash
env:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_GENERATE_ASPNET_CERTIFICATE: false
DOTNET_NOLOGO: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: doc/package.json
- name: Run Cake
run: |
./cake
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/log
build:
runs-on: ubuntu-22.04
steps:
- name: Clone repository
uses: actions/[email protected]
with:
fetch-depth: 0
submodules: recursive
- name: Set up .NET
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/[email protected]
with:
node-version-file: doc/package.json
- name: Run Cake
run: |
./cake
- name: Upload artifacts
if: always()
uses: actions/[email protected]
with:
name: ${{ github.workflow }}-${{ github.run_number }}-${{ github.run_attempt }}
path: |
out/log
26 changes: 13 additions & 13 deletions .github/workflows/secrets.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Secrets
on:
schedule:
- cron: 0 0 1 1 *
schedule:
- cron: 0 0 1 1 *
permissions:
issues: write
issues: write
defaults:
run:
shell: bash
run:
shell: bash
jobs:
secrets:
runs-on: ubuntu-22.04
steps:
- name: Create GitHub issue
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue create -R ${{ github.repository }} -t "Refresh organization secrets ($(date +%Y))" -b "It is time to refresh the \`NUGET_TOKEN\`, \`OVSX_TOKEN\`, and \`VSCE_TOKEN\` organization secrets." -l "area: marketplace" -l "area: nuget"
secrets:
runs-on: ubuntu-22.04
steps:
- name: Create GitHub issue
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue create -R ${{ github.repository }} -t "Refresh organization secrets ($(date +%Y))" -b "It is time to refresh the \`NUGET_TOKEN\`, \`OVSX_TOKEN\`, and \`VSCE_TOKEN\` organization secrets." -l "area: marketplace" -l "area: nuget"

0 comments on commit 60aa13d

Please sign in to comment.