Files
epita-sys-collaborating-wit…/frame/frame7.tex
Louis Gallet 891775bc1d
Some checks failed
Build LaTeX PDF / build (push) Has been cancelled
feat: Finish presentation
2026-03-06 16:17:53 +01:00

43 lines
1.1 KiB
TeX

\begin{frame}
\frametitle{Maximum security}
\framesubtitle{Protecting pull requests}
\section{For security enthusiasts!}
Generally, pull request settings are found in the same place as branch settings
\begin{center}
\includegraphics[width=0.6\textwidth]{assets/branch_protection_rules_pr1.png}
\includegraphics[width=0.7\textwidth]{assets/branch_protection_rules_pr2.png}
\end{center}
\end{frame}
\begin{frame}[fragile]
\frametitle{Maximum security}
\framesubtitle{CI}
CI (Continuous Integration) are tools that allow automating tests
on a pull request before merging it.
\end{frame}
\begin{frame}[fragile]
\frametitle{Maximum security}
\framesubtitle{CI}
\begin{center}
\begin{block}{.gitea/workflows/ci.yml}
\begin{verbatim}
name: CI
on:
pull_request:
branches: [master]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validation
run: echo "All checks passed!"
\end{verbatim}
\end{block}
\end{center}
\end{frame}