Skip to content

Desktop: parental-controls → screentime-limits (#114) #102

Desktop: parental-controls → screentime-limits (#114)

Desktop: parental-controls → screentime-limits (#114) #102

Workflow file for this run

name: Update Metapackages
on:
push:
branches:
- noble
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
container:
image: ubuntu:rolling
steps:
# We need git to checkout the metapackages repository with git so keep it above
- name: Install dependencies
shell: bash
run: |
export DEBIAN_FRONTEND=noninteractive
apt-get -qq update
apt-get -qq install tzdata git devscripts debootstrap germinate
- name: Checkout seeds
uses: actions/checkout@v3
- name: Checkout metapackages
uses: actions/checkout@v3
with:
repository: elementary/metapackages
path: metapackages
token: "${{ secrets.GIT_USER_TOKEN }}"
ref: noble
- name: Update metapackages
shell: bash
env:
BRANCH: noble
run: |
cd metapackages
./update
if git diff --quiet ; then
echo "Everything is up-to-date, nothing to commit"
else
git config --global user.email "[email protected]"
git config --global user.name "elementaryBot"
echo "Committing new changes"
git add .
git commit -m "Automatic update via elementary seeds"
git push origin "$BRANCH"
echo "Push complete"
fi