Repository navigation
58 lines (51 loc) · 2.03 KB
/
Copy pathdependency-graph.yml
File metadata and controls
58 lines (51 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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.
# Submits the resolved sbt dependency graph (all modules, transitive
# dependencies included) to GitHub via the Dependency Submission API so
# that Dependabot alerts cover Scala dependencies, which GitHub cannot
# parse from build.sbt on its own.
name: Update Dependency Graph
on:
push:
branches:
- main
permissions: {}
jobs:
dependency-graph:
name: Update Dependency Graph
runs-on: ubuntu-latest
if: github.repository == 'apache/texera'
permissions:
# The Dependency Submission API requires write permission
# on the repository
contents: write
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Setup JDK
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 17
- name: Setup sbt launcher
uses: sbt/setup-sbt@67d461eba2c4753196c230e02da850757ba4775e # v1.5.14
- uses: coursier/cache-action@95e5b1029b6b86e7bac033ee44a0697d8a527d2d # v8.1.1
- name: Submit sbt dependency graph
uses: scalacenter/sbt-dependency-submission@d84eef4c09e633bcf5f113bcad7fd5e9af1baee9 # v3.2.3
with:
configs-ignore: provided optional test compile-internal runtime-internal scala-tool scala-doc-tool