From 50123312a8886fd3806c647ae395887d5a31e5db Mon Sep 17 00:00:00 2001 From: mike seibel Date: Tue, 6 Jun 2023 11:00:06 -0700 Subject: [PATCH] actions bump, licence date --- .github/workflows/cicd.yml | 14 +++++++------- linkbot.py | 3 +++ linkbots/__init__.py | 3 +++ linkbots/jirabot.py | 3 +++ linkbots/servicenowbot.py | 3 +++ linkconfig_example.py | 2 +- setup.py | 2 +- util/__init__.py | 3 +++ util/endpoint.py | 3 +++ util/metrics.py | 3 +++ util/saml.py | 3 +++ util/slash_cmd.py | 3 +++ 12 files changed, 36 insertions(+), 9 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index e372a3c..06d5190 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -34,10 +34,10 @@ jobs: steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.8 @@ -47,10 +47,10 @@ jobs: app_name: '.' - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Cache Docker layers - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-$(echo ${{ hashFiles('Dockerfile') }} | head -c 16) @@ -58,7 +58,7 @@ jobs: ${{ runner.os }}-buildx- - name: Build App Image - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: tags: ${{ needs.context.outputs.image_tag }} push: false @@ -85,7 +85,7 @@ jobs: steps: - name: Checkout Repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Deployment Pipeline if: >- @@ -101,7 +101,7 @@ jobs: - name: 'Surface context from executed build step' id: context shell: bash - run: echo "::set-output name=context::$(< ${CONTEXT_FILENAME})" + run: echo "context=$(< ${CONTEXT_FILENAME})" >> $GITHUB_OUTPUT housekeeping: if: github.event_name == 'push' diff --git a/linkbot.py b/linkbot.py index c226006..2c8058c 100755 --- a/linkbot.py +++ b/linkbot.py @@ -1,3 +1,6 @@ +# Copyright 2023 UW-IT, University of Washington +# SPDX-License-Identifier: Apache-2.0 + #!/usr/bin/env python3 # Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 diff --git a/linkbots/__init__.py b/linkbots/__init__.py index 12c9a01..fa91427 100644 --- a/linkbots/__init__.py +++ b/linkbots/__init__.py @@ -1,3 +1,6 @@ +# Copyright 2023 UW-IT, University of Washington +# SPDX-License-Identifier: Apache-2.0 + # Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 """ diff --git a/linkbots/jirabot.py b/linkbots/jirabot.py index 33f1c62..131c98f 100644 --- a/linkbots/jirabot.py +++ b/linkbots/jirabot.py @@ -1,3 +1,6 @@ +# Copyright 2023 UW-IT, University of Washington +# SPDX-License-Identifier: Apache-2.0 + # Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 """ diff --git a/linkbots/servicenowbot.py b/linkbots/servicenowbot.py index 1cfd507..f6f53c8 100644 --- a/linkbots/servicenowbot.py +++ b/linkbots/servicenowbot.py @@ -1,3 +1,6 @@ +# Copyright 2023 UW-IT, University of Washington +# SPDX-License-Identifier: Apache-2.0 + # Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 """ diff --git a/linkconfig_example.py b/linkconfig_example.py index 39031bb..8931378 100644 --- a/linkconfig_example.py +++ b/linkconfig_example.py @@ -1,4 +1,4 @@ -# Copyright 2022 UW-IT, University of Washington +# Copyright 2023 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 # LinkBot Configuration diff --git a/setup.py b/setup.py index 51d955c..6aac183 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -# Copyright 2022 UW-IT, University of Washington +# Copyright 2023 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 from setuptools import setup diff --git a/util/__init__.py b/util/__init__.py index e588791..7ab8393 100644 --- a/util/__init__.py +++ b/util/__init__.py @@ -1,3 +1,6 @@ +# Copyright 2023 UW-IT, University of Washington +# SPDX-License-Identifier: Apache-2.0 + # Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 """ diff --git a/util/endpoint.py b/util/endpoint.py index 2bf4837..9f4a52e 100644 --- a/util/endpoint.py +++ b/util/endpoint.py @@ -1,3 +1,6 @@ +# Copyright 2023 UW-IT, University of Washington +# SPDX-License-Identifier: Apache-2.0 + # Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 """ diff --git a/util/metrics.py b/util/metrics.py index 611b7dc..dbd6c1c 100644 --- a/util/metrics.py +++ b/util/metrics.py @@ -1,3 +1,6 @@ +# Copyright 2023 UW-IT, University of Washington +# SPDX-License-Identifier: Apache-2.0 + # Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 """ diff --git a/util/saml.py b/util/saml.py index 9a75217..bba1a5a 100644 --- a/util/saml.py +++ b/util/saml.py @@ -1,3 +1,6 @@ +# Copyright 2023 UW-IT, University of Washington +# SPDX-License-Identifier: Apache-2.0 + # Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 """ diff --git a/util/slash_cmd.py b/util/slash_cmd.py index 4339f6d..8cf0c4c 100644 --- a/util/slash_cmd.py +++ b/util/slash_cmd.py @@ -1,3 +1,6 @@ +# Copyright 2023 UW-IT, University of Washington +# SPDX-License-Identifier: Apache-2.0 + # Copyright 2022 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 """