Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
57b4abe
Update actions/setup-go from v2 to v3
mcdonnnj May 27, 2022
8f68498
Update the version of Go used from 1.16 to 1.18
mcdonnnj May 27, 2022
fc55e84
Update the version of Go used from 1.18 to 1.19
mcdonnnj Nov 8, 2022
ec83308
Merge pull request #113 from cisagov/improvement/update_go_configuration
mcdonnnj Nov 8, 2022
2775dfa
Bump hashicorp/setup-terraform from 1 to 2
dependabot[bot] Nov 8, 2022
4925eb1
Merge pull request #111 from cisagov/dependabot/github_actions/hashic…
mcdonnnj Nov 8, 2022
1f7c62e
Bump actions/setup-python from 3 to 4
dependabot[bot] Nov 8, 2022
f74b4a3
Merge pull request #115 from cisagov/dependabot/github_actions/action…
mcdonnnj Nov 8, 2022
6a9c630
Add an ownership comment to the Dependabot configuration
mcdonnnj May 27, 2022
dfd54e9
Add additional Dependabot ignore directives
mcdonnnj May 27, 2022
a8bcddd
Merge pull request #112 from cisagov/improvement/update_dependabot_ig…
mcdonnnj Nov 8, 2022
71a88a5
Remove usage of set-output from our GitHub Actions workflow
mcdonnnj Oct 11, 2022
0867685
Merge pull request #119 from cisagov/bug/update_github_actions_workflow
mcdonnnj Nov 8, 2022
21a68f4
Enable the allow-non-breakable-inline-mappings rule for yamllint
mcdonnnj Sep 7, 2022
3547c4f
Increase the maximum line length in the yamllint configuration
mcdonnnj Sep 7, 2022
cfa9ba5
Merge pull request #117 from cisagov/improvement/update_yamllint_line…
mcdonnnj Nov 8, 2022
b1ea3d4
Fix the repo of the flake8 pre-commit hook
mcdonnnj Oct 14, 2022
2a98c6a
Merge pull request #120 from cisagov/bug/verify_pre-commit_hook_repos
mcdonnnj Nov 8, 2022
fb8d13f
Update pre-commit hooks
mcdonnnj May 27, 2022
bb9c2a0
Merge pull request #114 from cisagov/maintenance/update_pre-commit_hooks
mcdonnnj Nov 8, 2022
e5fbd70
Add a label configuration file
mcdonnnj Oct 5, 2022
b9792a8
Add a workflow to synchronize repository labels
mcdonnnj Oct 5, 2022
161c4ae
Remove duplicate label
jsf9k Oct 21, 2022
5993231
Add a label for issues or PRs that involve test code
jsf9k Oct 21, 2022
c4fbf20
Merge pull request #118 from cisagov/improvement/add_label_sync_workflow
mcdonnnj Nov 8, 2022
6cc53dc
Fix GitHub label color values
mcdonnnj Nov 9, 2022
8f12635
Correct spacing in yamllint rules
mcdonnnj Nov 9, 2022
e803e1a
Merge pull request #122 from cisagov/bug/fix_bad_configurations
mcdonnnj Nov 9, 2022
bade9e2
Merge remote-tracking branch 'skeleton-generic/develop' into lineage/…
jsf9k Nov 9, 2022
663dd87
Add repository specific label
mcdonnnj Nov 14, 2022
3aa675e
Update Python setup in the test job for GHA
mcdonnnj Nov 14, 2022
827ff50
Remove uses of the `set-output` command
mcdonnnj Nov 15, 2022
8d2691e
Merge pull request #136 from cisagov/lineage/skeleton
mcdonnnj Nov 21, 2022
a856426
Update the version of the second bandit hook
mcdonnnj Nov 21, 2022
0ad31cc
Correct poor English in comments for the bandit pre-commit hooks
mcdonnnj Nov 21, 2022
649ad63
Merge pull request #138 from cisagov/bug/update_bandit_in_pre-commit_…
mcdonnnj Nov 21, 2022
0d24f9c
Update the CodeQL configuration
mcdonnnj Nov 14, 2022
26cfb4e
Merge pull request #137 from cisagov/improvement/update_codeql_workflow
mcdonnnj Nov 21, 2022
87d0f97
Remove dangling argument in the pre-commit configuration
mcdonnnj Jun 30, 2022
eacc476
Update files used for Python requirements by LGTM
mcdonnnj Jun 30, 2022
42f3468
Restore the alerts badging for LGTM
mcdonnnj Jun 30, 2022
c21cacc
Merge pull request #115 from cisagov/improvement/fix_dangling_configu…
mcdonnnj Nov 21, 2022
5589f23
Bump actions/github-script from 5 to 6
dependabot[bot] Nov 21, 2022
362fad5
Merge pull request #77 from cisagov/dependabot/github_actions/actions…
mcdonnnj Nov 21, 2022
1a8ab89
Fix overly match-happy sed commands
jsf9k Sep 13, 2022
8f09cbf
Merge pull request #122 from cisagov/bugfix/tighten-regex-in-version-…
mcdonnnj Nov 21, 2022
ba23619
Prettify a comment
jsf9k Nov 4, 2022
343c0cb
Rework creation of unprivileged user and installation of dependencies
jsf9k Nov 4, 2022
717334c
Add comments and prefer long CLI options
jsf9k Nov 4, 2022
2a72bf6
Move ECHO_MESSAGE declaration to the "Prepare to run" section
jsf9k Nov 4, 2022
6f639fe
Merge pull request #135 from cisagov/improvement/dockerfile
mcdonnnj Nov 21, 2022
8cf8d23
Remove LGTM from the repository
mcdonnnj Nov 22, 2022
81f6c71
Merge pull request #139 from cisagov/maintenance/remove_lgtm
mcdonnnj Nov 22, 2022
8c73bf4
Restore Dockerfile changes from review
mcdonnnj Nov 22, 2022
8de42e4
Merge pull request #140 from cisagov/bug/fix_clobbered_dockerfile
mcdonnnj Nov 22, 2022
6cd34fe
Merge github.com:cisagov/skeleton-docker into lineage/skeleton
mcdonnnj Nov 23, 2022
746c073
Enable dependabot ignore directives
mcdonnnj Nov 23, 2022
a58be5b
Streamline package installation in Dockerfile
mcdonnnj Nov 23, 2022
793b393
Update Docker image URLs in the README
mcdonnnj Nov 23, 2022
0bb91c5
Update pre-commit hooks
mcdonnnj Jan 31, 2023
0eda781
Merge pull request #124 from cisagov/maintenance/update_pre-commit_hooks
jmorrowomni Feb 2, 2023
88f46b4
Merge https://github.com/cisagov/skeleton-generic into lineage/skeleton
Feb 2, 2023
313e792
Add a security label
jsf9k Feb 2, 2023
b7c0a75
Merge pull request #125 from cisagov/improvement/add-security-label
jmorrowomni Feb 2, 2023
c4793c9
Merge https://github.com/cisagov/skeleton-generic into lineage/skeleton
Feb 2, 2023
2ae1d5b
Merge pull request #149 from cisagov/lineage/skeleton
jmorrowomni Feb 10, 2023
da15398
Add package write permission to workflow
jsf9k Dec 6, 2022
3c9fc65
Merge pull request #144 from cisagov/bugfix/add-package-permission
jmorrowomni Feb 10, 2023
4e5287f
Update wheel along with pip and setuptools
jsf9k Dec 3, 2022
d4f2e48
Merge pull request #143 from cisagov/improvement/update-wheel
jmorrowomni Feb 10, 2023
83beae5
Specify pip3
jmorrowomni Feb 10, 2023
c43af0b
Merge pull request #142 from cisagov/improvement/specify-python3
jmorrowomni Feb 10, 2023
d6bf3c0
Specify the default group to run under in the Dockerfile
jsf9k Nov 22, 2022
26ff488
Merge https://github.com/cisagov/skeleton-docker into lineage/skeleton
Feb 10, 2023
83baee5
Merge pull request #141 from cisagov/improvement/specify-group
jmorrowomni Feb 10, 2023
9f7c312
Merge https://github.com/cisagov/skeleton-docker into lineage/skeleton
Feb 10, 2023
73a526f
Bump docker/build-push-action from 3 to 4
dependabot[bot] Feb 10, 2023
75482de
Merge pull request #151 from cisagov/dependabot/github_actions/docker…
jmorrowomni Feb 11, 2023
e9edf29
Merge https://github.com/cisagov/skeleton-docker into lineage/skeleton
Feb 11, 2023
7aab074
Specify pip3 in the file where it got blown away by a rebase
jmorrowomni Feb 10, 2023
1f63a52
Merge pull request #154 from cisagov/improvement/update_pip3
jmorrowomni Feb 11, 2023
cbbd264
Merge https://github.com/cisagov/skeleton-docker into lineage/skeleton
Feb 11, 2023
744f07e
Add @jasonodoom as a default codeowner
jsf9k Mar 24, 2023
3eed760
Merge pull request #128 from cisagov/add-odoom-to-default-codeowners
jasonodoom Mar 26, 2023
8d39c8b
Use Python 3.11 for the `lint` job in the `build` workflow
mcdonnnj Apr 19, 2023
5f4b768
Merge pull request #130 from cisagov/improvement/update_python_versio…
jmorrowomni Apr 20, 2023
db5e7ff
Update pre-commit hook versions
mcdonnnj Mar 27, 2023
c9028cf
Merge pull request #129 from cisagov/maintenance/update_pre-commit_hooks
jmorrowomni Apr 20, 2023
4c595e6
Bump actions/setup-go from 3 to 4
dependabot[bot] Mar 27, 2023
847cd13
Merge pull request #127 from cisagov/dependabot/github_actions/action…
jmorrowomni Apr 20, 2023
9984792
Install/upgrade setuptools and wheel when upgrading pip
jsf9k Feb 24, 2023
7250368
Merge pull request #126 from cisagov/improvement/install-setuptools-a…
jmorrowomni Apr 20, 2023
a0bc20b
Add Go hooks to support go code for our projects
jasonodoom May 5, 2023
3628e5f
Add Staticcheck
jasonodoom May 5, 2023
668724f
Fix indentation
jasonodoom May 5, 2023
3d422b8
Fix indentation
jasonodoom May 5, 2023
5571f47
Fix indentation
jasonodoom May 5, 2023
4fd9501
Fix formatting
jasonodoom May 5, 2023
412101a
Fix formatting
jasonodoom May 5, 2023
a346fb5
Fix formatting
jasonodoom May 5, 2023
c47038b
Revert updated versions for existing hooks
jasonodoom May 5, 2023
eb52678
Fix formatting
jasonodoom May 5, 2023
f8179f1
Remove extra hook ids
jasonodoom May 5, 2023
42820e2
Replace hooks with repo based option when available
jasonodoom May 8, 2023
7f372e6
Remove the go-lint hook from the pre-commit configuration
mcdonnnj Jun 7, 2023
b823111
Update pre-commit hook versions
mcdonnnj May 31, 2023
b770fc6
Add apostrophe to Qapla
jasonodoom May 31, 2023
24a0008
detecting virtualenv installation successfully
arcsector May 17, 2023
f01965a
Whitespace change to make shfmt linter happy
jsf9k May 19, 2023
43d588f
Fix two broken links
jsf9k Apr 25, 2023
e098255
Disable caching for the setup-go Action
mcdonnnj May 31, 2023
edf1338
Bump Go from 1.19 to 1.20
mcdonnnj May 31, 2023
42f481c
Merge branch 'develop' into add-go-hooks
jmorrowomni Jun 8, 2023
bd762fe
Merge pull request #133 from cisagov/add-go-hooks
mcdonnnj Jun 8, 2023
af90040
Add @jasonodoom as a default codeowner
jsf9k Mar 24, 2023
f037c16
Use Python 3.11 for the `lint` job in the `build` workflow
mcdonnnj Apr 19, 2023
92d7a39
Update pre-commit hook versions
mcdonnnj Mar 27, 2023
e30ba2e
Bump actions/setup-go from 3 to 4
dependabot[bot] Mar 27, 2023
f3da594
Install/upgrade setuptools and wheel when upgrading pip
jsf9k Feb 24, 2023
46896a8
Add Go hooks to support go code for our projects
jasonodoom May 5, 2023
ff0ebdf
Add Staticcheck
jasonodoom May 5, 2023
f953e8e
Fix indentation
jasonodoom May 5, 2023
932b62e
Fix indentation
jasonodoom May 5, 2023
2eca0cd
Fix indentation
jasonodoom May 5, 2023
fab2344
Fix formatting
jasonodoom May 5, 2023
892673b
Fix formatting
jasonodoom May 5, 2023
0d77207
Fix formatting
jasonodoom May 5, 2023
b661316
Revert updated versions for existing hooks
jasonodoom May 5, 2023
6a40279
Fix formatting
jasonodoom May 5, 2023
b0f2bf3
Remove extra hook ids
jasonodoom May 5, 2023
a93f6d4
Replace hooks with repo based option when available
jasonodoom May 8, 2023
ec058ef
Remove the go-lint hook from the pre-commit configuration
mcdonnnj Jun 7, 2023
033e194
Update pre-commit hook versions
mcdonnnj May 31, 2023
43a4bd1
Add apostrophe to Qapla
jasonodoom May 31, 2023
7bfd06c
detecting virtualenv installation successfully
arcsector May 17, 2023
6030c9a
Whitespace change to make shfmt linter happy
jsf9k May 19, 2023
2122a39
Fix two broken links
jsf9k Apr 25, 2023
92e0e6a
Disable caching for the setup-go Action
mcdonnnj May 31, 2023
2e746e2
Bump Go from 1.19 to 1.20
mcdonnnj May 31, 2023
c07be40
Update the version of Python used in the GHA `test` job
mcdonnnj Jul 14, 2023
2a16326
Install two additional Python packages in the GHA `test` job
mcdonnnj Jul 14, 2023
8237d27
Bump python from 3.10.1-alpine to 3.11.4-alpine
dependabot[bot] Jul 14, 2023
7aeeb5e
Merge https://github.com/cisagov/skeleton-generic into lineage/skeleton
Jul 14, 2023
0dcc61d
Merge https://github.com/cisagov/skeleton-docker into lineage/skeleton
Jul 14, 2023
cf24b08
Merge branch 'develop' into lineage/skeleton
jsf9k Jul 14, 2023
8c26a61
Merge pull request #166 from cisagov/lineage/skeleton
jsf9k Jul 14, 2023
7a728d6
Merge https://github.com/cisagov/skeleton-docker into lineage/skeleton
Jul 14, 2023
c02e483
Migrate testing from pytest-dockerc to using python-on-whales
mcdonnnj Jul 20, 2023
a9d6c92
Merge pull request #167 from cisagov/improvement/update_testing_method
jsf9k Jul 28, 2023
fc93df4
Merge https://github.com/cisagov/skeleton-docker into lineage/skeleton
Jul 28, 2023
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
7 changes: 3 additions & 4 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
# See https://ansible-lint.readthedocs.io/en/latest/configuring.html
# for a list of the configuration elements that can exist in this
# file.
# See https://ansible-lint.readthedocs.io/configuring/ for a list of
# the configuration elements that can exist in this file.
enable_list:
# Useful checks that one must opt-into. See here for more details:
# https://ansible-lint.readthedocs.io/en/latest/rules.html
# https://ansible-lint.readthedocs.io/rules/
- fcqn-builtins
- no-log-password
- no-same-owner
Expand Down
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# These owners will be the default owners for everything in the
# repo. Unless a later match takes precedence, these owners will be
# requested for review when someone opens a pull request.
* @dav3r @felddy @jsf9k @mcdonnnj
* @dav3r @felddy @jasonodoom @jsf9k @mcdonnnj

# These folks own any files in the .github directory at the root of
# the repository and any of its subdirectories.
/.github/ @dav3r @felddy @jsf9k @mcdonnnj
/.github/ @dav3r @felddy @jasonodoom @jsf9k @mcdonnnj
21 changes: 13 additions & 8 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,22 @@ updates:
schedule:
interval: "weekly"
ignore:
# Managed by cisagov/skeleton-generic
- dependency-name: actions/cache
- dependency-name: actions/checkout
- dependency-name: actions/setup-go
- dependency-name: actions/setup-python
# Managed by cisagov/javadebian11-docker
# - dependency-name: actions/download-artifact
# - dependency-name: actions/github-script
# - dependency-name: actions/upload-artifact
# - dependency-name: docker/build-push-action
# - dependency-name: docker/login-action
# - dependency-name: docker/setup-buildx-action
# - dependency-name: docker/setup-qemu-action
- dependency-name: hashicorp/setup-terraform
- dependency-name: mxschmitt/action-tmate
# Managed by cisagov/skeleton-docker
- dependency-name: actions/download-artifact
- dependency-name: actions/github-script
- dependency-name: actions/upload-artifact
- dependency-name: docker/build-push-action
- dependency-name: docker/login-action
- dependency-name: docker/setup-buildx-action
- dependency-name: docker/setup-qemu-action
- dependency-name: github/codeql-action

- package-ecosystem: "pip"
directory: "/"
Expand Down
73 changes: 73 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
# Rather than breaking up descriptions into multiline strings we disable that
# specific rule in yamllint for this file.
# yamllint disable rule:line-length
- color: "eb6420"
description: This issue or pull request is awaiting the outcome of another issue or pull request
name: blocked
- color: "000000"
description: This issue or pull request involves changes to existing functionality
name: breaking change
- color: "d73a4a"
description: This issue or pull request addresses broken functionality
name: bug
- color: "07648d"
description: This issue will be advertised on code.gov's Open Tasks page (https://code.gov/open-tasks)
name: code.gov
- color: "0366d6"
description: Pull requests that update a dependency file
name: dependencies
- color: "2497ed"
description: Pull requests that update Docker code
name: docker
- color: "5319e7"
description: This issue or pull request improves or adds to documentation
name: documentation
- color: "cfd3d7"
description: This issue or pull request already exists or is covered in another issue or pull request
name: duplicate
- color: "b005bc"
description: A high-level objective issue encompassing multiple issues instead of a specific unit of work
name: epic
- color: "000000"
description: Pull requests that update GitHub Actions code
name: github-actions
- color: "0e8a16"
description: This issue or pull request is well-defined and good for newcomers
name: good first issue
- color: "ff7518"
description: Pull request that should count toward Hacktoberfest participation
name: hacktoberfest-accepted
- color: "a2eeef"
description: This issue or pull request will add or improve functionality, maintainability, or ease of use
name: improvement
- color: "fef2c0"
description: This issue or pull request is not applicable, incorrect, or obsolete
name: invalid
- color: "ce099a"
description: This pull request is ready to merge during the next Lineage Kraken release
name: kraken 🐙
- color: "a4fc5d"
description: This issue or pull request requires further information
name: need info
- color: "fcdb45"
description: This pull request is awaiting an action or decision to move forward
name: on hold
- color: "ef476c"
description: This issue is a request for information or needs discussion
name: question
- color: "d73a4a"
description: This issue or pull request addresses a security issue
name: security
- color: "00008b"
description: This issue or pull request adds or otherwise modifies test code
name: test
- color: "1d76db"
description: This issue or pull request pulls in upstream updates
name: upstream update
- color: "d4c5f9"
description: This issue or pull request increments the version number
name: version bump
- color: "ffffff"
description: This issue will not be incorporated
name: wontfix
47 changes: 25 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,28 +45,27 @@ jobs:
uses: cisagov/setup-env-github-action@develop
- uses: actions/checkout@v3
- id: setup-python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.11"
# We need the Go version and Go cache location for the actions/cache step,
# so the Go installation must happen before that.
- uses: actions/setup-go@v2
- id: setup-go
uses: actions/setup-go@v4
with:
go-version: "1.16"
- name: Store installed Go version
id: go-version
run: |
echo "::set-output name=version::"\
"$(go version | sed 's/^go version go\([0-9.]\+\) .*/\1/')"
# There is no expectation for actual Go code so we disable caching as
# it relies on the existence of a go.sum file.
cache: false
go-version: "1.20"
- name: Lookup Go cache directory
id: go-cache
run: |
echo "::set-output name=dir::$(go env GOCACHE)"
echo "dir=$(go env GOCACHE)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
env:
BASE_CACHE_KEY: "${{ github.job }}-${{ runner.os }}-\
py${{ steps.setup-python.outputs.python-version }}-\
go${{ steps.go-version.outputs.version }}-\
go${{ steps.setup-go.outputs.go-version }}-\
packer${{ steps.setup-env.outputs.packer-version }}-\
tf${{ steps.setup-env.outputs.terraform-version }}-"
with:
Expand Down Expand Up @@ -102,7 +101,7 @@ jobs:
${{ env.CURL_CACHE_DIR }}/"${PACKER_ZIP}"
sudo mv /usr/local/bin/packer /usr/local/bin/packer-default
sudo ln -s /opt/packer/packer /usr/local/bin/packer
- uses: hashicorp/setup-terraform@v1
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: ${{ steps.setup-env.outputs.terraform-version }}
- name: Install shfmt
Expand All @@ -117,7 +116,7 @@ jobs:
run: go install ${PACKAGE_URL}@${PACKAGE_VERSION}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip setuptools wheel
pip install --upgrade --requirement requirements-test.txt
- name: Set up pre-commit hook environments
run: pre-commit install-hooks
Expand Down Expand Up @@ -178,7 +177,7 @@ jobs:
- uses: actions/checkout@v3
- name: Gather repository metadata
id: repo
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
script: |
const repo = await github.rest.repos.get(context.repo)
Expand Down Expand Up @@ -219,9 +218,9 @@ jobs:
do
TAGS="${TAGS},ghcr.io/${i}"
done
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=source_version::$(./bump_version.sh show)
echo ::set-output name=tags::${TAGS}
echo "created=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_OUTPUT
echo "source_version=$(./bump_version.sh show)" >> $GITHUB_OUTPUT
echo "tags=${TAGS}" >> $GITHUB_OUTPUT
echo tags=${TAGS}
- name: Setup tmate debug session
uses: mxschmitt/action-tmate@v3
Expand Down Expand Up @@ -252,7 +251,7 @@ jobs:
run: mkdir -p dist
- name: Build image
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
build-args: |
VERSION=${{ needs.prepare.outputs.source_version }}
Expand Down Expand Up @@ -305,9 +304,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- id: setup-python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: "3.11"
- name: Cache testing environments
uses: actions/cache@v3
env:
Expand All @@ -322,7 +321,7 @@ jobs:
${{ env.BASE_CACHE_KEY }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade pip setuptools wheel
pip install --upgrade --requirement requirements-test.txt
- name: Download docker image artifact
uses: actions/download-artifact@v3
Expand All @@ -349,6 +348,10 @@ jobs:
runs-on: ubuntu-latest
needs: [lint, prepare, test]
if: github.event_name != 'pull_request'
# When Dependabot creates a PR it requires this permission in
# order to push Docker images to ghcr.io.
permissions:
packages: write
steps:
- name: Login to Docker Hub
uses: docker/login-action@v2
Expand Down Expand Up @@ -380,7 +383,7 @@ jobs:
run: ./buildx-dockerfile.sh
- name: Build and push platform images to registries
id: docker_build
uses: docker/build-push-action@v3
uses: docker/build-push-action@v4
with:
build-args: |
VERSION=${{ needs.prepare.outputs.source_version }}
Expand Down
42 changes: 20 additions & 22 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---

# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
Expand All @@ -11,59 +10,58 @@ on:
push:
# Dependabot triggered push events have read-only access, but uploading code
# scanning requires write access.
branches-ignore: [dependabot/**]
branches-ignore:
- dependabot/**
pull_request:
# The branches below must be a subset of the branches above
branches: [develop]
branches:
- develop
schedule:
- cron: '0 21 * * 6'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

permissions:
# required for all workflows
security-events: write
strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript',
# 'python']
language: ['python']
# Supported options are go, javascript, csharp, python, cpp, and java
language:
- python
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# 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. 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. queries:
# ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or
# 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)
# 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

# ✏️ 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
# three lines and modify them (or add more) to build your code if your
# project uses a compiled language

# - run: |
# make bootstrap
# make release
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
29 changes: 29 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: sync-labels

on:
push:
paths:
- '.github/labels.yml'
- '.github/workflows/sync-labels.yml'

permissions:
contents: read

jobs:
labeler:
permissions:
# actions/checkout needs this to fetch code
contents: read
# crazy-max/ghaction-github-labeler needs this to manage repository labels
issues: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Sync repository labels
if: success()
uses: crazy-max/ghaction-github-labeler@v4
with:
# This is a hideous ternary equivalent so we only do a dry run unless
# this workflow is triggered by the develop branch.
dry-run: ${{ github.ref_name == 'develop' && 'false' || 'true' }}
8 changes: 0 additions & 8 deletions .lgtm.yml

This file was deleted.

Loading