<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Azure-Devops on Brandon Pugh&#39;s Blog</title>
    <link>https://www.brandonpugh.com/tags/azure-devops/</link>
    <description>Recent content in Azure-Devops on Brandon Pugh&#39;s Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Tue, 03 Jun 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www.brandonpugh.com/tags/azure-devops/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Auto add pull request reviewers</title>
      <link>https://www.brandonpugh.com/til/azure-devops/auto-add-reviewers/</link>
      <pubDate>Tue, 03 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://www.brandonpugh.com/til/azure-devops/auto-add-reviewers/</guid>
      <description>&lt;p&gt;Today I learned that Azure DevOps lets you &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/devops/repos/git/branch-policies?view=azure-devops&amp;amp;tabs=browser#automatically-include-code-reviewers&#34;&gt;automatically include reviewers&lt;/a&gt; for a pull request if modifies certain files.&lt;/p&gt;
&lt;p&gt;This is very similar to Github&amp;rsquo;s &lt;a href=&#34;https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners&#34;&gt;code owners&lt;/a&gt; file with the key difference being that you configure it through the repo setting in Azure DevOps instead of committing a file.&lt;/p&gt;
&lt;p&gt;I find this very useful for example if you&amp;rsquo;re a Front End Architect who wants to be aware of any changes to the UI or if you&amp;rsquo;re a DBA who wants to review any database migrations.&lt;/p&gt;

       &lt;hr&gt; &lt;p&gt;Thank you for keeping RSS alive. You&#39;re awesome.&lt;/p&gt; &lt;p&gt;&lt;a href=&#34;mailto:blogrss@bpugh.dev&#34;&gt;Reply by email&lt;/a&gt;&lt;/p&gt;
        &lt;img src=&quot;https://blog.bpugh.workers.dev/cdn/images?p=/til/azure-devops/auto-add-reviewers/feed&quot;&gt;
      </description>
    </item>
    
    <item>
      <title>Conditional logic in pipelines YAML</title>
      <link>https://www.brandonpugh.com/til/azure-devops/conditional-yaml/</link>
      <pubDate>Mon, 16 Oct 2023 00:00:00 +0000</pubDate>
      <guid>https://www.brandonpugh.com/til/azure-devops/conditional-yaml/</guid>
      <description>&lt;p&gt;Today I learned that you can have conditional expressions in Azure Pipelines YAML files:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-yaml&#34; data-lang=&#34;yaml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;steps&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;- &lt;span class=&#34;nt&#34;&gt;script&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;tool&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;env&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;${{ if parameters.debug }}:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;TOOL_DEBUG&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;kc&#34;&gt;true&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;TOOL_DEBUG_DIR&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;_dbg&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;${{ else }}:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;TOOL_DEBUG&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;kc&#34;&gt;false&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;      &lt;/span&gt;&lt;span class=&#34;nt&#34;&gt;TOOL_DEBUG_DIR&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;:&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;l&#34;&gt;_dbg&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
       &lt;hr&gt; &lt;p&gt;Thank you for keeping RSS alive. You&#39;re awesome.&lt;/p&gt; &lt;p&gt;&lt;a href=&#34;mailto:blogrss@bpugh.dev&#34;&gt;Reply by email&lt;/a&gt;&lt;/p&gt;
        &lt;img src=&quot;https://blog.bpugh.workers.dev/cdn/images?p=/til/azure-devops/conditional-yaml/feed&quot;&gt;
      </description>
    </item>
    
    <item>
      <title>Highlight text in markdown</title>
      <link>https://www.brandonpugh.com/til/azure-devops/markdown-highlight/</link>
      <pubDate>Fri, 22 Sep 2023 00:00:00 +0000</pubDate>
      <guid>https://www.brandonpugh.com/til/azure-devops/markdown-highlight/</guid>
      <description>&lt;p&gt;I just learned that you can highlight text in PR descriptions and comments on Azure devops by using the &lt;code&gt;&amp;lt;mark&amp;gt;&lt;/code&gt; element in your markdown:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;mark&amp;gt;Notice this!&amp;lt;/mark&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;screenshot of highlighted text on azure devops&#34; loading=&#34;lazy&#34; src=&#34;https://www.brandonpugh.com/til/azure-devops/markdown-highlight-screenshot.png&#34;&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;rsquo;t think I was even aware of the &lt;a href=&#34;https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark&#34;&gt;&lt;code&gt;mark&lt;/code&gt; html element&lt;/a&gt; even though it&amp;rsquo;s been around for a while now.&lt;/p&gt;

       &lt;hr&gt; &lt;p&gt;Thank you for keeping RSS alive. You&#39;re awesome.&lt;/p&gt; &lt;p&gt;&lt;a href=&#34;mailto:blogrss@bpugh.dev&#34;&gt;Reply by email&lt;/a&gt;&lt;/p&gt;
        &lt;img src=&quot;https://blog.bpugh.workers.dev/cdn/images?p=/til/azure-devops/markdown-highlight/feed&quot;&gt;
      </description>
    </item>
    
    <item>
      <title>Press `ctrl&#43;enter` to submit a comment on Azure DevOps</title>
      <link>https://www.brandonpugh.com/til/azure-devops/submit-comment-hotkey/</link>
      <pubDate>Wed, 19 Jul 2023 00:00:00 +0000</pubDate>
      <guid>https://www.brandonpugh.com/til/azure-devops/submit-comment-hotkey/</guid>
      <description>&lt;p&gt;Pressing &lt;code&gt;ctrl+enter&lt;/code&gt; in a comment field on Azure DevOps will submit the comment!
For some reason, this isn&amp;rsquo;t listed on their &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/devops/project/navigation/keyboard-shortcuts?view=azure-devops&#34;&gt;keyboard shortcuts page&lt;/a&gt; but it&amp;rsquo;s so much nicer than using the mouse or pressing &lt;code&gt;tab&lt;/code&gt; four times.&lt;/p&gt;

       &lt;hr&gt; &lt;p&gt;Thank you for keeping RSS alive. You&#39;re awesome.&lt;/p&gt; &lt;p&gt;&lt;a href=&#34;mailto:blogrss@bpugh.dev&#34;&gt;Reply by email&lt;/a&gt;&lt;/p&gt;
        &lt;img src=&quot;https://blog.bpugh.workers.dev/cdn/images?p=/til/azure-devops/submit-comment-hotkey/feed&quot;&gt;
      </description>
    </item>
    
  </channel>
</rss>