Skip to content

Commit

Permalink
chore: update workflows (#1385)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangela authored Nov 7, 2023
1 parent 2647732 commit 608e1a0
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 6 deletions.
35 changes: 35 additions & 0 deletions .github/header-checker-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Presubmit test that ensures that source files contain valid license headers
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/header-checker-lint
# Install: https://github.com/apps/license-header-lint-gcf

allowedCopyrightHolders:
- 'Google LLC'
allowedLicenses:
- 'Apache-2.0'
sourceFileExtensions:
- 'yaml'
- 'yml'
- 'sh'
- 'ts'
- 'js'
- 'java'
- 'md'
- 'html'
- 'txt'
- 'kt'
- 'kts'
- 'xml'
4 changes: 2 additions & 2 deletions .github/workflows/generate-v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
name: Generate V3 Samples

on:
schedule:
- cron: '0 */1 * * *'
push:
branches: [ main ]
repository_dispatch:
types: [ generate-v3 ]

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
with:
token: ${{ secrets.SYNCED_GITHUB_TOKEN_REPO }}

- name: set up Java 11
uses: actions/setup-java@v2
- name: set up Java 17
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '11'
distribution: 'temurin'
java-version: '17'

- name: Uninstall NDK
run: |
Expand Down

0 comments on commit 608e1a0

Please sign in to comment.