Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gradle/actions
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: actions/gradle-build-tools-actions
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 5 commits
  • 2 files changed
  • 2 contributors

Commits on May 16, 2025

  1. add sync-fork.yml workflow

    _Part of work to recreate `actions/gradle-dependency-submission-action` as `actions/gradle-build-tools-actions` to better reflect the 3 actions in this action._
    
    Copying sync-fork.yml
    
    History:
    * actions#3
    * actions#4
    elrayle authored May 16, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    660f3fa View commit details
  2. add CODEOWNERS file

    _Part of work to recreate actions/gradle-dependency-submission-action as actions/gradle-build-tools-actions to better reflect the 3 actions in this action._
    
    Copying CODEOWNERS
    
    History:
    * actions#5
    elrayle authored May 16, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    9e84f39 View commit details
  3. Update .github/workflows/sync-fork.yml

    update reference to previous fork
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    elrayle and Copilot authored May 16, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    290ae4b View commit details

Commits on May 21, 2025

  1. Merge pull request #2 from actions/elr/codeowners

    add CODEOWNERS file
    elrayle authored May 21, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d469d17 View commit details
  2. Merge pull request #1 from actions/elr/sync-fork

    add sync-fork.yml workflow
    elrayle authored May 21, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    e7b9cf1 View commit details
Showing with 46 additions and 0 deletions.
  1. +1 −0 .github/CODEOWNERS
  2. +45 −0 .github/workflows/sync-fork.yml
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @actions/advanced-security-dependency-graph
45 changes: 45 additions & 0 deletions .github/workflows/sync-fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Sync Fork with Upstream
on:
schedule:
- cron: '0 0 * * 1' # Runs at midnight UTC every Monday
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0

- name: Fetch Upstream Remote
run: |
git remote add upstream https://github.com/gradle/actions.git
git fetch upstream
- name: Set Git Config
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- name: Create and Push Branch
run: |
git checkout -b weekly-sync-branch-${{ github.run_id }}
git merge upstream/main --no-commit
git reset -- ./.github
git commit -m "Merge upstream:main"
git commit --allow-empty -m "Empty commit to open PR"
git push --set-upstream origin weekly-sync-branch-${{ github.run_id }}
- name: Open Pull Request
run: |
gh repo set-default actions/gradle-build-tools-actions
gh pr create -B main -H weekly-sync-branch-${{ github.run_id }} --title 'Sync Fork with Upstream' --body 'Weekly Cron. Created by GitHub Actions.'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}