Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
# Copyright Contributors to Agones a Series of LF Projects, 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.

version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
commit-message:
prefix: "build"
labels:
- kind/cleanup
3 changes: 2 additions & 1 deletion .github/workflows/close.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@ on:
workflow_dispatch:
schedule:
- cron: 0 1 1,15 * *
permissions: {}
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v8
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 30
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ on:
- main
workflow_dispatch:

permissions: {}
jobs:
fossa:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: fossas/fossa-action@main
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: fossas/fossa-action@ff70fe9fe17cbd2040648f1c45e8ec4e4884dcf3 # v1.9.0
with:
api-key: ${{ secrets.FOSSA_API_KEY }}
team: Agones
3 changes: 2 additions & 1 deletion .github/workflows/label-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#
name: Label PR
on: [pull_request_target]
permissions: {}
jobs:
label:
runs-on: ubuntu-latest
Expand All @@ -25,7 +26,7 @@ jobs:
pull-requests: write
steps:
- name: Label PR
uses: actions/github-script@v6
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6
with:
script: |-
const keywords = {
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
name: labeler
on:
- pull_request_target
permissions: {}
jobs:
labeler:
runs-on: ubuntu-latest
Expand All @@ -25,7 +26,7 @@ jobs:
pull-requests: write
name: Label the PR size
steps:
- uses: codelytv/pr-size-labeler@v1
- uses: codelytv/pr-size-labeler@095a41fca88b8764fd9e008ad269bcdb82bb38b9 # v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_max_size: '10'
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/obsolete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:
schedule:
- cron: 0 2 1,15 * *
workflow_dispatch:
permissions: {}
jobs:
stale:
runs-on: ubuntu-latest
Expand All @@ -29,7 +30,7 @@ jobs:
name: Track Obsolete Issues
steps:
- name: Track stale issues and check if obsolete
uses: actions/stale@v8
uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 30
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ name: PR update
on:
push:
branches: [main]
permissions: {}
jobs:
autoupdate:
runs-on: ubuntu-latest
Expand All @@ -29,7 +30,7 @@ jobs:
pull-requests: write
steps:
- name: Automatically update PR
uses: adRise/update-pr-branch@v0.6.0
uses: adRise/update-pr-branch@437fab6e0ac7d2a668f2c479f64225edd7f303fd # v0.6.0
with:
token: ${{ secrets.AGONES_BOT }}
base: main
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:
workflow_dispatch:
schedule:
- cron: 0 10 1,15 * *
permissions: {}
jobs:
stale:
runs-on: ubuntu-latest
Expand All @@ -29,7 +30,7 @@ jobs:
name: stale issues
steps:
- name: Stale issues
uses: actions/stale@v8
uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84 # v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 30
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update_dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Update Dependencies
on:
schedule:
- cron: 0 0 * * 1
permissions: {}
jobs:
create_issue:
name: Create update dependency issue once every six weeks
Expand All @@ -14,8 +15,8 @@ jobs:
- name: Run this workflow only every six weeks (fail this step the other five weeks)
run: |
if [[ $(("( $(date +%s) - $(date +%s --date=20250310) ) / 86400 % 42")) -eq 0 ]] then exit 0; else exit 1; fi
- uses: actions/checkout@v3
- uses: JasonEtco/create-an-issue@v2
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: JasonEtco/create-an-issue@1b14a70e4d8dc185e5cc76d3bec9eab20257b2c5 # v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
Loading