Skip to content

Commit

Permalink
Merge pull request #12 from alexisgeoffrey/codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisgeoffrey authored Apr 19, 2022
2 parents 8af1f51 + d5493c3 commit b28f7c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
branches:
- 'main'
release:
types: [published]

jobs:
build-push-image:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '15 10 * * 3'
- cron: '45 20 * * 4'

jobs:
analyze:
Expand All @@ -42,7 +42,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -53,7 +53,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -67,4 +67,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AOE 4 Elo Bot
[![ci](https://img.shields.io/github/workflow/status/alexisgeoffrey/aoe4elobot/ci?label=ci)](https://github.com/alexisgeoffrey/aoe4elobot/actions/workflows/ci.yml)
[![CodeQL](https://img.shields.io/github/workflow/status/alexisgeoffrey/aoe4elobot/CodeQL/main?label=code%20QL)](https://github.com/alexisgeoffrey/aoe4elobot/actions/workflows/codeql-analysis.yml)
[![CodeQL](https://github.com/alexisgeoffrey/aoe4elobot/actions/workflows/codeql.yml/badge.svg)](https://github.com/alexisgeoffrey/aoe4elobot/actions/workflows/codeql.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/alexisgeoffrey/aoe4elobot/v2)](https://goreportcard.com/report/github.com/alexisgeoffrey/aoe4elobot/v2)

A Discord bot that automatically retrieves Elo ratings for Age of Empires 4 and gives users custom roles.
Expand Down

0 comments on commit b28f7c7

Please sign in to comment.