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: Mafyuh/iac
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d7056a0b455bdeb8a17f36978071f08aef9aef75
Choose a base ref
...
head repository: Mafyuh/iac
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 199b28c0bd6658a7eed38bd8652d82ee3c9e5e79
Choose a head ref
  • 3 commits
  • 2 files changed
  • 2 contributors

Commits on Dec 12, 2024

  1. Copy the full SHA
    a98092a View commit details

Commits on Dec 13, 2024

  1. Update .forgejo/workflows/yamllint.yml

    mafyuh committed Dec 13, 2024
    Copy the full SHA
    61f1a9e View commit details
  2. Copy the full SHA
    199b28c View commit details
Showing with 5 additions and 7 deletions.
  1. +4 −6 .forgejo/workflows/yamllint.yml
  2. +1 −1 docker/arm/docker-compose.yml
10 changes: 4 additions & 6 deletions .forgejo/workflows/yamllint.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
name: Lint on PR

on:
pull_request:
types: [opened, synchronize, reopened]
@@ -17,16 +15,16 @@ jobs:
- name: Get modified YAML files
id: get_changed_files
run: |
CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -E '\.(yml)$' || true)
echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV
CHANGED_FILES=$(git diff --name-only HEAD^ HEAD | grep -E '\.(yml)$' || true)
echo "CHANGED_FILES=$CHANGED_FILES" >> $GITHUB_ENV
- name: Run yamllint on modified files
if: env.CHANGED_FILES != ''
run: |
yamllint $CHANGED_FILES
yamllint $CHANGED_FILES
env:
CHANGED_FILES: ${{ env.CHANGED_FILES }}

- name: Skip linting if no YAML files are changed
if: env.CHANGED_FILES == ''
run: echo "No YAML files changed in this PR. Skipping lint."
run: echo "No YAML files changed in this PR. Skipping lint."
2 changes: 1 addition & 1 deletion docker/arm/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
services:
server:
image: codeberg.org/forgejo/forgejo:9.0.2
image: codeberg.org/forgejo/forgejo:9.0.3
container_name: forgejo
environment:
- USER_UID=1000