Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update License Year
name: Update Notice Year

on:
schedule:
Expand All @@ -23,23 +23,23 @@ jobs:
- name: Set Previous Year
run: "echo PREVIOUS=$(($CURRENT-1)) >> $GITHUB_ENV"

- name: Update LICENSE
- name: Update NOTICE
uses: jacobtomlinson/gha-find-replace@v3
with:
find: ${{ env.PREVIOUS }}
replace: ${{ env.CURRENT }}
include: "**/LICENSE"
include: "NOTICE"
regex: false

- name: Commit files
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
git commit -m "Updated License Year" -a
git commit -m "Updated Notice Year" -a

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
title: Update License Year
branch: update-license
title: Update Notice Year
branch: update-notice
5 changes: 5 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Harness Feature Management Flutter SDK Copyright 2024-2026 Harness Inc.

This product includes software developed at Harness Inc. (https://harness.io/).

This product includes software originally developed by Split Software, Inc. (https://www.split.io/). Copyright 2022-2024 Split Software, Inc.