-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1251 from microsoftgraph/dev
Update Dependencies
- Loading branch information
Showing
40 changed files
with
378 additions
and
789 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,118 @@ | ||
id: | ||
name: GitOps.PullRequestIssueManagement | ||
description: GitOps.PullRequestIssueManagement primitive | ||
owner: | ||
resource: repository | ||
disabled: false | ||
where: | ||
configuration: | ||
resourceManagementConfiguration: | ||
scheduledSearches: | ||
- description: | ||
frequencies: | ||
- hourly: | ||
hour: 6 | ||
filters: | ||
- isIssue | ||
- isOpen | ||
- hasLabel: | ||
label: 'Needs: author feedback' | ||
- hasLabel: | ||
label: no-recent-activity | ||
- noActivitySince: | ||
days: 3 | ||
- isNotLabeledWith: | ||
label: service bug | ||
actions: | ||
- closeIssue | ||
- description: | ||
frequencies: | ||
- hourly: | ||
hour: 6 | ||
filters: | ||
- isIssue | ||
- isOpen | ||
- hasLabel: | ||
label: 'Needs: author feedback' | ||
- noActivitySince: | ||
days: 4 | ||
- isNotLabeledWith: | ||
label: no-recent-activity | ||
actions: | ||
- addLabel: | ||
label: no-recent-activity | ||
- addReply: | ||
reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. | ||
- description: | ||
frequencies: | ||
- hourly: | ||
hour: 6 | ||
filters: | ||
- isIssue | ||
- isOpen | ||
- hasLabel: | ||
label: duplicate | ||
- noActivitySince: | ||
days: 1 | ||
actions: | ||
- addReply: | ||
reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes. | ||
- closeIssue | ||
eventResponderTasks: | ||
- if: | ||
- payloadType: Issue_Comment | ||
- isAction: | ||
action: Created | ||
- isActivitySender: | ||
issueAuthor: True | ||
- hasLabel: | ||
label: 'Needs: author feedback' | ||
then: | ||
- addLabel: | ||
label: needs attention | ||
- removeLabel: | ||
label: 'Needs: author feedback' | ||
description: | ||
- if: | ||
- payloadType: Issues | ||
- not: | ||
isAction: | ||
action: Closed | ||
- hasLabel: | ||
label: no-recent-activity | ||
then: | ||
- removeLabel: | ||
label: no-recent-activity | ||
description: | ||
- if: | ||
- payloadType: Issues | ||
- labelAdded: | ||
label: service bug | ||
then: [] | ||
description: | ||
- if: | ||
- payloadType: Issue_Comment | ||
- activitySenderHasAssociation: | ||
association: Contributor | ||
- bodyContains: | ||
pattern: '?' | ||
isRegex: False | ||
- bodyContains: | ||
pattern: '@' | ||
isRegex: False | ||
then: | ||
- addLabel: | ||
label: 'Needs: author feedback' | ||
description: | ||
- if: | ||
- payloadType: Issues | ||
- or: | ||
- isAssignedToSomeone | ||
- isAction: | ||
action: Closed | ||
then: | ||
- removeLabel: | ||
label: ToTriage | ||
description: | ||
onFailure: | ||
onSuccess: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,14 @@ jobs: | |
name: maven_central_snapshot | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Easy detect-secrets | ||
uses: RobertFischer/[email protected] | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 18 | ||
distribution: 'adopt' | ||
java-version: 20 | ||
distribution: 'temurin' | ||
cache: gradle | ||
- name: Download file | ||
run: .\scripts\decodeAndWrite.ps1 -encodedValue $env:ENCODED_VALUE -outputPath $env:OUTPUT_PATH | ||
|
@@ -52,14 +52,14 @@ jobs: | |
name: maven_central_release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Easy detect-secrets | ||
uses: RobertFischer/[email protected] | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 18 | ||
distribution: 'adopt' | ||
java-version: 20 | ||
distribution: 'temurin' | ||
cache: gradle | ||
- name: Download file | ||
run: .\scripts\decodeAndWrite.ps1 -encodedValue $env:ENCODED_VALUE -outputPath $env:OUTPUT_PATH | ||
|
@@ -99,13 +99,13 @@ jobs: | |
env: | ||
RELEASE_TAG: "" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Get Version | ||
id: GetVersion | ||
run: .\scripts\getLatestVersion.ps1 | ||
shell: pwsh | ||
- name: Create tag | ||
uses: rickstaa/[email protected].2 | ||
uses: rickstaa/[email protected].4 | ||
with: | ||
tag: ${{ steps.GetVersion.outputs.tag }} | ||
- name: Queue Git Release | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,86 @@ | ||
# For most projects, this workflow file will not need changing; you simply need | ||
# to commit it to your repository. | ||
# | ||
# You may wish to alter this file to override the set of languages analyzed, | ||
# or to provide custom queries or build logic. | ||
# | ||
# ******** NOTE ******** | ||
# We have attempted to detect the languages in your repository. Please check | ||
# the `language` matrix defined below to confirm you have the correct set of | ||
# supported CodeQL languages. | ||
# | ||
name: "CodeQL" | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [dev, master] | ||
branches: [ "dev", "master" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [dev] | ||
branches: [ "dev" ] | ||
schedule: | ||
- cron: '0 1 * * 4' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} | ||
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
language: [ 'java' ] | ||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ] | ||
# Use only 'java' to analyze code written in Java, Kotlin or both | ||
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both | ||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-java@v3 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'adopt' | ||
java-version: 18 | ||
java-version: 20 | ||
distribution: 'temurin' | ||
cache: gradle | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
# Override language selection by uncommenting this and choosing your languages | ||
with: | ||
languages: java | ||
languages: ${{ matrix.language }} | ||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# By default, queries listed here will override any specified in a config file. | ||
# Prefix the list here with "+" to use these queries and those in the config file. | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs | ||
# queries: security-extended,security-and-quality | ||
|
||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
- name: Autobuild | ||
uses: github/codeql-action/autobuild@v2 | ||
# - name: Autobuild | ||
# uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
# If the Autobuild fails above, remove it and uncomment the following three lines. | ||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. | ||
|
||
#- run: | | ||
# make bootstrap | ||
# make release | ||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
- name: Build with Gradle | ||
run: ./gradlew build | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
with: | ||
category: "/language:${{matrix.language}}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,12 +15,12 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 18 | ||
distribution: 'adopt' | ||
java-version: 20 | ||
distribution: 'temurin' | ||
cache: gradle | ||
- name: Easy detect-secrets | ||
uses: RobertFischer/[email protected] | ||
|
Oops, something went wrong.